Compare commits

..

No commits in common. "b30aaea66b0504393f1f5c7c565d730447df6d82" and "a9a8109cb646fe442ea70add52435061ac0916cb" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 {