Fixes for releasing
All checks were successful
CI / test (push) Successful in 46s
CI / test (debian, docker.io/library/debian:13, python3) (push) Successful in 1m18s
Lint / test (push) Successful in 38s

This commit is contained in:
Miguel Jacq 2026-06-23 18:03:29 +10:00
parent c5375b180f
commit a9d56b66c5
Signed by: mig5
GPG key ID: 03906B4110AAD3B8
3 changed files with 21 additions and 11 deletions

View file

@ -7,11 +7,6 @@ filedust -y .
# Publish to Pypi
poetry build
poetry publish
# Make AppImage
poetry run pyproject-appimage
mv JinjaTurtle.AppImage dist/
# Sign packages
for file in `ls -1 dist/`; do qubes-gpg-client --batch --armor --detach-sign dist/$file > dist/$file.asc; done
@ -51,8 +46,8 @@ REPO_ROOT="${HOME}/git/repo_rpm"
REMOTE="ashpool.mig5.net:/opt/repo_rpm"
DISTS=(
fedora:44
fedora:43
fedora:42
)
for dist in ${DISTS[@]}; do
@ -87,6 +82,9 @@ for dist in ${DISTS[@]}; do
qubes-gpg-client --local-user "$KEYID" --detach-sign --armor "$RPM_REPO/repodata/repomd.xml" > "$RPM_REPO/repodata/repomd.xml.asc"
done
# If we got this far, we can publish to PyPI
poetry publish
echo "==> Syncing repo to server..."
rsync -aHPvz --exclude=.git --delete "$REPO_ROOT/" "$REMOTE/"