Skip to content

Commit

Permalink
Use auto-generated release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
  • Loading branch information
dhaiducek authored and openshift-merge-robot committed May 26, 2023
1 parent 0499944 commit 2708e64
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'v*.*.*'

env:
TAG: ${{ github.ref_name }}
RELEASE_VERSION: ${{ github.ref_name }}
defaults:
run:
Expand Down Expand Up @@ -36,11 +35,11 @@ jobs:
- name: generate changelog
run: |
echo "# config-policy-controller $RELEASE_VERSION" > /home/runner/work/changelog.txt
echo "- See the [CHANGELOG](https://github.com/open-cluster-management-io/config-policy-controller/blob/main/CHANGELOG/CHANGELOG-${RELEASE_VERSION}.md) for more details." >> /home/runner/work/changelog.txt
echo "- The released image is quay.io/open-cluster-management/config-policy-controller:$RELEASE_VERSION" >> /home/runner/work/changelog.txt
- name: publish release
uses: softprops/action-gh-release@v0.1.5
env:
GITHUB_TOKEN: ${{ github.token }}
uses: softprops/action-gh-release@v0.1.15
with:
body_path: /home/runner/work/changelog.txt
generate_release_notes: true
draft: true
prerelease: false

0 comments on commit 2708e64

Please sign in to comment.