chore: add config for workflow #30

Merged
blas merged 1 commits from chore/fix-checkout-publish into main 2026-03-24 14:28:13 +00:00
Showing only changes of commit 76fbadfc8f - Show all commits

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 }}