Moved description into a comment at the top of the action files #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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 }} |