Skip to content

Commit

Permalink
Create create_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitrykliapkou authored Aug 24, 2023
1 parent e6c291d commit f6b8cc1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create release

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes

0 comments on commit f6b8cc1

Please sign in to comment.