Use a hardcoded version if git revision is not available.
This commit is contained in:
1 parent
252b1ed8b6
commit
725a2e02da
1 file changed
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
|
DOKKU_VERSION = master
|
||||||
|
|
||||||
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
|
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
|
||||||
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
||||||
STACK_URL ?= github.com/progrium/buildstep
|
STACK_URL ?= github.com/progrium/buildstep
|
||||||
@@ -17,7 +19,7 @@ copyfiles:
|
|||||||
cp -r plugins/* /var/lib/dokku/plugins
|
cp -r plugins/* /var/lib/dokku/plugins
|
||||||
|
|
||||||
version:
|
version:
|
||||||
git describe --tags > ${DOKKU_ROOT}/VERSION
|
git describe --tags > ${DOKKU_ROOT}/VERSION 2> /dev/null || echo '~${DOKKU_VERSION}' > ${DOKKU_ROOT}/VERSION
|
||||||
|
|
||||||
plugins: pluginhook docker
|
plugins: pluginhook docker
|
||||||
dokku plugins-install
|
dokku plugins-install
|
||||||
|
|||||||
Reference in new issue
Block a user