mirror of
https://github.com/dokku/dokku.git
synced 2026-08-29 10:08:53 +02:00
Use a hardcoded version if git revision is not available.
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,3 +1,5 @@
|
||||
DOKKU_VERSION = master
|
||||
|
||||
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
|
||||
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
|
||||
STACK_URL ?= github.com/progrium/buildstep
|
||||
@@ -17,7 +19,7 @@ copyfiles:
|
||||
cp -r plugins/* /var/lib/dokku/plugins
|
||||
|
||||
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
|
||||
dokku plugins-install
|
||||
|
||||
Reference in New Issue
Block a user