Create actions : Create version tag, push zip/targz archives, build a… #1
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
name: Create tag on release | ||
description: Create a tag "vX.Y.Z" when a branch "release/X.Y.Z" is created | ||
Check failure on line 2 in .github/workflows/create_tag_on_release_branch.yml GitHub Actions / Create tag on releaseInvalid workflow file
|
||
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 }} |