output tag on bump
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 6s

This commit is contained in:
2026-01-17 20:36:30 +01:00
parent 374f421732
commit 19c3a12231

View File

@@ -16,6 +16,8 @@ on:
jobs: jobs:
bump-version: bump-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
tag: ${{ steps.bump.outputs.tag }}
steps: steps:
- name: Checkout - name: Checkout
@@ -36,6 +38,7 @@ jobs:
node-version: ${{ inputs.node_version }} node-version: ${{ inputs.node_version }}
- name: Bump patch version and tag - name: Bump patch version and tag
id: bump
run: | run: |
REF="${GITHUB_REF:-${GITEA_REF}}" REF="${GITHUB_REF:-${GITEA_REF}}"
BRANCH="${REF#refs/heads/}" BRANCH="${REF#refs/heads/}"
@@ -78,3 +81,5 @@ jobs:
git push origin HEAD git push origin HEAD
git push origin "${TAG}" git push origin "${TAG}"
echo "tag=${TAG}" >> "${GITHUB_OUTPUT}"