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
|
DOKKU_HOST := dokku@dev.lookingfora.name
|
||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
DOCKER_IMAGE_NAME ?= bornholm/hydra-passwordless
|
DOCKER_IMAGE_NAME ?= bornholm/hydra-passwordless
|
||||||
DOCKER_IMAGE_TAG ?= $(shell date +%Y%m%d%H%M)
|
DOCKER_IMAGE_TAG ?= $(shell git describe --always)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
CGO_ENABLED=0 go build -v -o bin/server ./cmd/server
|
CGO_ENABLED=0 go build -v -o bin/server ./cmd/server
|
||||||
|
@ -45,8 +45,7 @@ function current_commit_ref {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function current_version {
|
function current_version {
|
||||||
local latest_tag=$(git describe --abbrev=0 2>/dev/null)
|
git describe --always
|
||||||
echo ${latest_tag:-0.0.0}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function copy {
|
function copy {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user