Skip to content

Create actions : Create version tag, push zip/targz archives, build a… #1

Create actions : Create version tag, push zip/targz archives, build a…

Create actions : Create version tag, push zip/targz archives, build a… #1

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

View workflow run for this annotation

GitHub Actions / Create tag on release

Invalid workflow file

The workflow is not valid. .github/workflows/create_tag_on_release_branch.yml (Line: 2, Col: 1): Unexpected value 'description'
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 }}