Merge pull request #815 from mandiant/rules52-33 #4
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: release | |
on: | |
push: | |
tags: | |
# alternatively, use '*' here for all tag names | |
- v[0-9]+.[0-9]+.[0-9]+ | |
jobs: | |
create_release: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
# get all history and tags | |
fetch-depth: 0 | |
- name: Get release text | |
run: python .github/scripts/create_releases.py ${{ github.ref_name }} > release_body.txt | |
- name: Create GitHub release | |
uses: ncipollo/[email protected] | |
with: | |
bodyFile: release_body.txt |