Let AUR and flathub deploy scripts push

This commit is contained in:
su-ex 2021-01-13 21:50:36 +01:00
parent ed9740a4c2
commit 52a7dfcd82
No known key found for this signature in database
GPG Key ID: D743C50C8B61984C
2 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
set -x
# set -x
DEPLOY_ROOT="$(dirname "$(realpath "$0")")"
@ -28,6 +28,8 @@ makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO PKGBUILD
git commit -m "Bump version to v$version"
#git push
git push
popd > /dev/null
echo "Release v$version published on AUR!"

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
set -x
# set -x
DEPLOY_ROOT="$(dirname "$(realpath "$0")")"
@ -39,6 +39,8 @@ sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=
git add $jsonFile $xmlFile
git commit -m "Bump version to v$version"
#git push
git push
popd > /dev/null
echo "Release v$version published on flathub!"