check for latest in _do_bump_version

This commit is contained in:
sentriz
2020-04-01 17:05:01 +01:00
parent 79dbd4d322
commit 0b0f336be1
8 changed files with 17 additions and 11 deletions

View File

@@ -1,10 +1,11 @@
#!/bin/sh
# using sh, is run from alpine
embed_bin_path=/tmp/gonicembed
assets_path=server/assets
# only build once for some slightly faster live page reloading
if ! test -e "$embed_bin_path"; then
if [[ ! -e "$embed_bin_path" ]]; then
go build \
-o "$embed_bin_path" \
cmd/gonicembed/main.go