mirror of https://github.com/docker/docs.git
Make sure all sources have the wanted revision
This commit is contained in:
parent
7c03bd1e7a
commit
120a520a22
|
@ -32,7 +32,7 @@ ubuntu:
|
||||||
# Retrieve docker project and its go structure from internet
|
# Retrieve docker project and its go structure from internet
|
||||||
rm -rf ${BUILD_SRC}
|
rm -rf ${BUILD_SRC}
|
||||||
git clone $(shell git rev-parse --show-toplevel) ${BUILD_SRC}/${GITHUB_PATH}
|
git clone $(shell git rev-parse --show-toplevel) ${BUILD_SRC}/${GITHUB_PATH}
|
||||||
cd ${BUILD_SRC}/${GITHUB_PATH}; git checkout v${VERSION} && GOPATH=${BUILD_SRC} go get -d
|
cd ${BUILD_SRC}/${GITHUB_PATH}; git checkout v${VERSION} && GOPATH=${BUILD_SRC} go get -d && cd ${BUILD_SRC}/src/${GITHUB_PATH} && git checkout v${VERSION}
|
||||||
# Add debianization
|
# Add debianization
|
||||||
mkdir ${BUILD_SRC}/debian
|
mkdir ${BUILD_SRC}/debian
|
||||||
cp Makefile ${BUILD_SRC}
|
cp Makefile ${BUILD_SRC}
|
||||||
|
|
Loading…
Reference in New Issue