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 e0e9e70 commit 807d02dCopy full SHA for 807d02d
create-image.sh
@@ -41,14 +41,15 @@ mkdir -p "$RELEASES_FOLDER/$1"
41
mv -f "$WORK_FOLDER/$IMAGE_NAME" "$RELEASES_FOLDER/$1/$IMAGE_NAME"
42
43
echo "Commit & push changes"
44
-git commit -am "chore: native image for $1, generated on $TODAY"
45
-git pull --rebase
+git add .
+git commit -m "chore: native image for $1, generated on $TODAY"
46
+git pull --rebase origin main
47
git push
48
49
echo "Creating tag '$1-$TODAY'"
50
git tag -a "$1-$TODAY" -m "Native image for $1, generated on $TODAY"
51
+git push origin "$1-$TODAY" -f
52
+
53
echo "Moving tag $1-current"
54
git tag -af "$1-current" -m "Latest version of the native image for $1"
-
-git push origin "$1-$TODAY" -f
55
git push origin "$1-current" -f
0 commit comments