diff options
author | Charles Leclerc | 2024-02-06 22:08:51 +0100 |
---|---|---|
committer | Charles Leclerc | 2024-02-06 22:08:51 +0100 |
commit | 076e422b7031159c2d99afc230a01a60c3d17477 (patch) | |
tree | b5a0b35912bd01ea295006366cfb18dc9bd1ec4b | |
parent | e163df0f55183088bd47e739268f2be9698a56cb (diff) | |
download | aur-076e422b7031159c2d99afc230a01a60c3d17477.tar.gz |
Added aur push to update.sh
-rwxr-xr-x | update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update.sh b/update.sh index cecabdfce779..c1761f533388 100755 --- a/update.sh +++ b/update.sh @@ -24,6 +24,7 @@ done s_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" cd $s_dir +git branch -u origin/master git pull -p --ff-only build_ver=`grep ^pkgver= PKGBUILD | cut -d= -f2` @@ -61,4 +62,7 @@ if [ "${initial}x" = "x" ] ; then gh release create --generate-notes "$new_ver-1" reposilite-$new_ver-1-any.pkg.tar.* rm reposilite-$new_ver.tar.* rm reposilite-$new_ver-1-any.pkg.tar.* + git branch -u aur/master + git push + git branch -u origin/master fi |