update arch sha256 and release tools

This commit is contained in:
2025-07-03 12:30:02 +02:00
parent 01e2e5376b
commit f1ba3b32dc
3 changed files with 28 additions and 3 deletions
+21 -2
View File
@@ -22,12 +22,12 @@ make
make install
```
### From PKGBrepository (PKGBUILD)
### From repository (PKGBUILD)
```sh
git clone https://github.com/klemek/margen
cd margen
pkbuild -si
makepkg -si
```
@@ -66,3 +66,22 @@ options:
-r, --rotation start corner rotation [0-3] (default: random)
-m, --monochrome grayscale generation
```
## Release guide
```bash
# update configure.ac with new version
$EDITOR configure.ac
# make full build
make -f Makefile.dev release
# push to repo
git commit -am "margen vX.Y.Z"
git tag vX.Y.Z
git push origin master --tags
# create release from tag on github
# update PKGBUILD with new sha256 sum
sha256sum margen-x.y.z.tar.gz
make -f Makefile.dev release-arch
git commit -am "update arch sha256"
# add .pkg.tar.zst on the release
```