output tag on bump
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 6s
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 6s
This commit is contained in:
5
.github/workflows/bump-version.yaml
vendored
5
.github/workflows/bump-version.yaml
vendored
@@ -16,6 +16,8 @@ on:
|
||||
jobs:
|
||||
bump-version:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
tag: ${{ steps.bump.outputs.tag }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -36,6 +38,7 @@ jobs:
|
||||
node-version: ${{ inputs.node_version }}
|
||||
|
||||
- name: Bump patch version and tag
|
||||
id: bump
|
||||
run: |
|
||||
REF="${GITHUB_REF:-${GITEA_REF}}"
|
||||
BRANCH="${REF#refs/heads/}"
|
||||
@@ -78,3 +81,5 @@ jobs:
|
||||
|
||||
git push origin HEAD
|
||||
git push origin "${TAG}"
|
||||
|
||||
echo "tag=${TAG}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
Reference in New Issue
Block a user