chore: add config for workflow

This commit is contained in:
2026-03-24 15:27:49 +01:00
parent 0740555736
commit 76fbadfc8f

View File

@@ -21,13 +21,15 @@ jobs:
run: |
VERSION=${GITHUB_REF_NAME#v}
echo "Setting package version to $VERSION"
git fetch origin main
git checkout main
npm pkg set version="$VERSION"
git config user.name "versioning"
git config user.email "versioning@blassanto.me"
git remote set-url origin https://x-token:${GITEA_TOKEN}@git.blassanto.me/blas/openapi-clean-arch-gen.git
git add package.json
git commit -m "chore: bump to version v${VERSION}"
git push origin HEAD:main
git push origin main
env:
GITEA_TOKEN: ${{ secrets.TOKEN }}