feat(release): add source archive creation to release workflow

This commit is contained in:
2026-10-12 19:32:20 +02:00
parent 0146364574
commit 5939462f20
7 changed files with 67 additions and 16 deletions
+2 -2
View File
@@ -47,9 +47,9 @@ release:
NEXT="v$$MAJOR.$$MINOR.$$((PATCH + 1))"; \
PKGVER="$$MAJOR.$$MINOR.$$((PATCH + 1))"; \
echo "Current: $$CURRENT → Next: $$NEXT"; \
sed -i "s/^pkgver=.*/pkgver=$$PKGVER/" linux/arch/PKGBUILD; \
sed -i "s/^pkgver=.*/pkgver=$$PKGVER/" linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy/PKGBUILD; \
sed -i "s/^Version:.*/Version: $$PKGVER/" linux/centos/pgtidy.spec; \
git add linux/arch/PKGBUILD linux/centos/pgtidy.spec; \
git add linux/arch/pgtidy-bin/PKGBUILD linux/arch/pgtidy/PKGBUILD linux/centos/pgtidy.spec; \
git commit -m "chore(release): bump version to $$PKGVER"; \
git tag -a "$$NEXT" -m "Release $$NEXT"; \
git push origin HEAD "$$NEXT"; \