Skip to content

Moved description into a comment at the top of the action files #2

Moved description into a comment at the top of the action files

Moved description into a comment at the top of the action files #2

### Create a tag "vX.Y.Z" when a branch "release/X.Y.Z" is created
name: Create tag on release
on:
push:
branches: [ "release/*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set develop VERSION env
run: echo "VERSION=$(echo ${{ github.ref_name }} | sed s+release/++)" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v3
- name: Push tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.CR_PAT }}
custom_tag: ${{ env.VERSION }}