Skip to content

Commit

Permalink
chore(gha): replace action for creating github releases (backport #5929
Browse files Browse the repository at this point in the history
…) (#6025)

* chore(gha): replace action for creating github releases (#5929)

see spinnaker/rosco#966 for background

(cherry picked from commit 5c8426d)

# Conflicts:
#	.github/workflows/release.yml

* chore(gha): resolve conflicts

---------

Co-authored-by: David Byron <[email protected]>
Co-authored-by: David Byron <[email protected]>
  • Loading branch information
3 people authored Sep 8, 2023
1 parent 105974b commit a929158
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,12 @@ jobs:
"${{ env.CONTAINER_REGISTRY }}/${{ steps.build_variables.outputs.REPO }}:${{ steps.release_info.outputs.RELEASE_VERSION }}-${{ steps.build_variables.outputs.VERSION }}-unvalidated-ubuntu"
- name: Create release
if: steps.release_info.outputs.SKIP_RELEASE == 'false'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.event.repository.name }} ${{ github.ref }}
body: |
${{ steps.release_info.outputs.CHANGELOG }}
draft: false
name: ${{ github.event.repository.name }} ${{ github.ref_name }}
prerelease: ${{ steps.release_info.outputs.IS_CANDIDATE }}
tag_name: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a929158

Please sign in to comment.