Compare commits

...

3 Commits

Author SHA1 Message Date
Marcel Kapfer efabda309b
🐛 Don't sign tag during autoupdate
This is a temporary restriction since during the implementation of
building the autoupdate functionality and the pipeline handling GPG
additionally would be a bit too much at once.

Refs: #8
2023-07-19 23:41:08 +02:00
Marcel Kapfer ac512f5bde
🐛 Add and commit changes for autoupdate
Refs: #8
2023-07-19 23:40:42 +02:00
Marcel Kapfer 618ed2bb5c
♻ Use autoupdate name consistently across all scripts
Refs: #8
2023-07-19 23:40:08 +02:00
1 changed files with 7 additions and 4 deletions

View File

@ -21,10 +21,10 @@ old="${last_tag#?}"
if [ "$1" = "--autoupdate" ]; then
new="$2"
autogit="y"
autoupdate="y"
else
new="$1"
autogit="n"
autoupdate="n"
fi
name="$(git config --get user.name)"
@ -52,13 +52,16 @@ cd ..
rm "$PACKAGE"_"$old"-*
if [ "$autogit" = "n" ]; then
if [ "$autoupdate" = "n" ]; then
exit
fi
git add -A
git commit -m "Upstream version $new"
git switch main
git merge --ff-only version-"$new"
git push origin main
git tag -s v"$new" "Upstream version $new"
git tag -a v"$new" "Upstream version $new"
git push --tags origin main