diff --git a/.woodpecker.yml b/.woodpecker.yml index 341bc84..6c04390 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ pipeline: image: golang:1.18 commands: - test -n "$CI_COMMIT_TAG" && sed "s/{app_version}/$CI_COMMIT_TAG/g" -i main.go || true - - test -n "$CI_COMMIT_SHA" && sed "s/{app_version}/${CI_COMMIT_TAG:0:7}/g" -i main.go || true + - test -n "$CI_COMMIT_SHA" && sed "s/{app_version}/${CI_COMMIT_SHA:0:7}/g" -i main.go || true - make test build_push_latest_gitnet: