earthly: all git commands to fail in ci
This commit is contained in:
@@ -66,11 +66,11 @@ go-base:
|
||||
|
||||
LET version = $(git tag --points-at)
|
||||
IF [ "${version}" = "" ]
|
||||
SET version = $(git describe --tags --abbrev=0)
|
||||
SET version = $(git describe --tags --abbrev=0 || echo "dev build")
|
||||
END
|
||||
ENV VERSION="${version}"
|
||||
|
||||
LET source = $(git remote -v | cut -f2 | cut -d" " -f1 | head -n 1)
|
||||
LET source = $( ( git remote -v | cut -f2 | cut -d" " -f1 | head -n 1 ) || echo "unknown source" )
|
||||
ENV SOURCE="${source}"
|
||||
|
||||
# updates all go dependencies and runs go mod tidy, saving go.mod and go.sum locally.
|
||||
|
||||
Reference in New Issue
Block a user