release.sh: push with the Gitea token
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
133b80c83b
commit
a483d6226d
1 file changed
+2
-1
@@ -27,7 +27,8 @@ sed -i "s/^__version__ = .*/__version__ = \"$VERSION\"/" k65studio/__init__.py
|
||||
sed -i "s/^pkgver=.*/pkgver=$VERSION/; s/^pkgrel=.*/pkgrel=1/" packaging/PKGBUILD
|
||||
git diff --quiet || git commit -qam "Release v$VERSION"
|
||||
git tag -a "v$VERSION" -m "v$VERSION"
|
||||
git push -q origin main "v$VERSION"
|
||||
AUTH="$(printf 'MrBlake:%s' "$TOKEN" | base64 -w0)"
|
||||
git -c http.extraHeader="Authorization: Basic $AUTH" push -q origin main "v$VERSION"
|
||||
|
||||
BUILD="$(mktemp -d)"
|
||||
trap 'rm -rf "$BUILD"' EXIT
|
||||
|
||||
Reference in new issue
Block a user