♻ (autoupdate) Move auto update git code to autoupdate.sh

This commit is contained in:
Marcel Kapfer 2023-07-26 19:33:15 +02:00
parent d02cedc381
commit 9293768ee2
2 changed files with 11 additions and 24 deletions

View file

@ -18,3 +18,13 @@ new_version="$(echo "$check" | xmllint --xpath 'string(/dehs/upstream-version)'
popd
./update-new-version.sh --autoupdate "$new_version"
git add -A
git commit -m "Upstream version $new_version"
git switch main
git merge --ff-only version-"$new_version"
git push origin main
git tag -a v"$new_version" -m "Upstream version $new_version"
git push --tags origin main