We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98f9623 commit de8d092Copy full SHA for de8d092
create-image.sh
@@ -40,11 +40,15 @@ echo "Moving $WORK_FOLDER/$IMAGE_NAME to $RELEASES_FOLDER/$1/$IMAGE_NAME"
40
mkdir -p "$RELEASES_FOLDER/$1"
41
mv -f "$WORK_FOLDER/$IMAGE_NAME" "$RELEASES_FOLDER/$1/$IMAGE_NAME"
42
43
-git pull --rebase
+echo "Commit & push changes"
44
git commit -am "chore: native image for $1, generated on $TODAY"
45
+git pull --rebase
46
+git push
47
+
48
echo "Creating tag '$1-$TODAY'"
49
git tag -a "$1-$TODAY" -m "Native image for $1, generated on $TODAY"
-echo "Moving tag $1-latest"
-git tag -af "$1-latest" -m "Latest version of the native image for $1"
50
+echo "Moving tag $1-current"
51
+git tag -af "$1-current" -m "Latest version of the native image for $1"
52
-git push --tags
53
+git push origin "$1-$TODAY" -f
54
+git push origin "$1-current" -f
0 commit comments