mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
tag with stable on semver git tag (#858)
This commit is contained in:
@@ -22,7 +22,7 @@ fi
|
||||
if [[ "${MUTABLE_TAG:-}" == "" ]]; then
|
||||
# tagged builds
|
||||
if [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||
MUTABLE_TAG="latest"
|
||||
MUTABLE_TAG="stable"
|
||||
# master build
|
||||
elif [[ "$BRANCH" == "master" ]]; then
|
||||
MUTABLE_TAG="canary"
|
||||
|
||||
Reference in New Issue
Block a user