Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rimrul committed Nov 25, 2021
1 parent 35151cf commit c63d849
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Create GH release

# Create a GitHub release for each new tag.
# The release notes are taken from the release notes file
# modified in that commit located in Documentation/RelNotes directory.

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

permissions:
contents: write

jobs:
create-gh-release:
name: Create a new release or update an existing release in the GitHub repository
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Create the release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
body_path: Documentation/RelNotes/${GITHUB_REF#refs/tags/v}.txt
draft: false
prerelease: false

0 comments on commit c63d849

Please sign in to comment.