Compare commits
No commits in common. "b30aaea66b0504393f1f5c7c565d730447df6d82" and "a9a8109cb646fe442ea70add52435061ac0916cb" have entirely different histories.
b30aaea66b
...
a9a8109cb6
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
DOKKU_HOST := dokku@dev.lookingfora.name
|
||||
SHELL := /bin/bash
|
||||
DOCKER_IMAGE_NAME ?= bornholm/hydra-passwordless
|
||||
DOCKER_IMAGE_TAG ?= $(shell git describe --always)
|
||||
DOCKER_IMAGE_TAG ?= $(shell date +%Y%m%d%H%M)
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -v -o bin/server ./cmd/server
|
||||
|
@ -45,7 +45,8 @@ function current_commit_ref {
|
||||
}
|
||||
|
||||
function current_version {
|
||||
git describe --always
|
||||
local latest_tag=$(git describe --abbrev=0 2>/dev/null)
|
||||
echo ${latest_tag:-0.0.0}
|
||||
}
|
||||
|
||||
function copy {
|
||||
|
Loading…
x
Reference in New Issue
Block a user