Merge pull request #3929 from Azure/bvesel/refactor-clean-up #110
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-note | |
on: | |
push: | |
tags: | |
- v* | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
fetch-depth: 0 | |
# ref and fetch-depth: 0 are required to retrieve tag annotations. | |
# (see https://github.com/actions/runner-images/issues/1717) | |
- name: Generate Changelog | |
run: ./.github/generate_release_note.sh ${{ github.workspace }}/CHANGELOG.txt | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
body_path: ${{ github.workspace }}/CHANGELOG.txt | |
name: Release ${{ github.ref_name }} | |
draft: false | |
prerelease: false |