- Set the
VERSION
insrc/main.c
#define VERSION "va.b"
- Set a tag for the version
git tag va.b
git push --tags
-
Edit the new tag on GitHub to make it a release with title and description
-
Calculate and copy the sha256sum for the newly released version from the github generated tarball: https://github.com/alt-romes/programmer-calculator/archive/va.b.tar.gz
curl -L https://github.com/alt-romes/programmer-calculator/archive/va.b.tar.gz > va.b
sha256sum va.b
-
Update formula in the official homebrew repository:
brew bump-formula-pr --version a.b pcalc
-
Wait until homebrew-core accepts the pr, then test the updated brew formula by running
brew update
brew upgrade pcalc
-
Clone the AUR repository from https://aur.archlinux.org/packages/programmer-calculator/ (you must be a colaborator)
-
Edit
PKGBUILD
- change the version
pkgver
toa.b
- update the sha sum to the one just calculated
- change the version
-
Edit
.SRCINFO
- change the version
pkgver
toa.b
- change in
source
references to previous version to the new versiona.b
- change the shasum
- change the version
-
Push changes to the AUR repo
-
Test the AUR repo (howto?)