We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb5b89 commit cca5fe8Copy full SHA for cca5fe8
bin/move_up_stable_tag.sh
@@ -46,4 +46,15 @@ for IMAGE in "${IMAGES[@]}"; do
46
docker manifest push "${IMAGE}:${ALIAS_TAG}"
47
done
48
49
-echo "All images have been tagged as '${ALIAS_TAG}' successfully."
+echo "Checking out version tag: v${SOURCE_TAG}"
50
+git checkout "v${SOURCE_TAG}"
51
+
52
+echo "Deleting the 'stable' tag from git: local and remote"
53
+git tag -d "${ALIAS_TAG}"
54
+git push oss --delete "${ALIAS_TAG}"
55
56
+echo "Moving stable tag to new version: v${SOURCE_TAG}"
57
+git tag "${ALIAS_TAG}"
58
+git push oss "${ALIAS_TAG}"
59
60
+echo "v${SOURCE_TAG} has been tagged as '${ALIAS_TAG}' successfully."
0 commit comments