Skip to content

Release: v3.6.9

Release: v3.6.9 #1

Workflow file for this run

name: "(Tag): Create"
on:
pull_request:
types: [closed]
branches:
- core
jobs:
create-tag:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'tag/v')
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: core
- name: Get version from package.json
id: version
run: |
echo "tag=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
- name: Create tag
run: |
git config user.name "code-snippets-bot"
git config user.email "[email protected]"
git tag "v${{ steps.version.outputs.tag }}"
git push origin "v${{ steps.version.outputs.tag }}"