wofi-calc/.aur-scripts/wofi-calc/push-version.sh
Zeioth 6b8b47cdc9 Confirmed, AUR daily quota exceeded.
the command  git clone ssh://aur.archlinux.org/wofi-calc-git.git
return 'fatal: could no read from repository. So most likely the daily
quota was exceeded, as no permission file was altered.'
2022-04-11 01:39:08 +02:00

27 lines
999 B
Bash
Executable file

# Description: Generates a new aur release.
# WARNING: make sure you push all changes before running this.
# or you may experience inconsistences.
#-----------------------------------------------------------------------------
# TODO: On github/gitlab, create automation to create git version per tag
# This is just in case an user tries to download an specific version.
#-----------------------------------------------------------------------------
# Generate the checksums automatically
sed -i "s/^sha256sums=.*/$(makepkg -g -f -p PKGBUILD)/" ./PKGBUILD
# Generate tag a new tag for the new version
git tag $(printf "v1.0.r%s" "$(git rev-list --count HEAD)")
# Generate pagkage metadata
makepkg --printsrcinfo > ./.SRCINFO
# Push it to AUR
git add ./PKGBUILD ./.SRCINFO
git commit -m "New version"
git push ssh://aur@aur.archlinux.org/wofi-calc.git master
# Bye
echo -e "\n-------------------------------------------------------------------"
echo -e "NEW VERSION GENERATED\n"