diff --git a/packaging/release.sh b/packaging/release.sh index cb8c030..b234ce8 100755 --- a/packaging/release.sh +++ b/packaging/release.sh @@ -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