Compare commits
4 Commits
a9a8109cb6
...
b30aaea66b
Author | SHA1 | Date | |
---|---|---|---|
b30aaea66b | |||
644e1af76d | |||
8617438ff7 | |||
2734f49ab0 |
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 date +%Y%m%d%H%M)
|
||||
DOCKER_IMAGE_TAG ?= $(shell git describe --always)
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -v -o bin/server ./cmd/server
|
||||
|
@ -45,8 +45,7 @@ function current_commit_ref {
|
||||
}
|
||||
|
||||
function current_version {
|
||||
local latest_tag=$(git describe --abbrev=0 2>/dev/null)
|
||||
echo ${latest_tag:-0.0.0}
|
||||
git describe --always
|
||||
}
|
||||
|
||||
function copy {
|
||||
|
Loading…
x
Reference in New Issue
Block a user