Skip to content

Commit

Permalink
Merge pull request #20 from aodn/update_release_title_body
Browse files Browse the repository at this point in the history
deploy-staging.yml: improve release title/body
  • Loading branch information
digorgonzola authored Dec 10, 2023
2 parents 6270c22 + d863b0b commit 1f4fa5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,16 @@ jobs:
id: create_draft_release
uses: softprops/action-gh-release@v1
with:
name: Draft Release - '${{ github.event.head_commit.message }}'
name: Draft Release - commit '${{ github.sha }}'
body: |
## Info
This draft release has been automatically created from merge commit '${{ github.event.head_commit.message }}'.
Commit ${{ github.sha }} was deployed to `staging`. [See code diff](${{ github.event.compare }}).
It was initialized by [${{ github.event.sender.login }}](${{ github.event.sender.html_url }}).
## How to Promote?
In order to promote this to prod, edit the draft and press **"Publish release"**.
In order to promote this to prod, edit the draft, create a new tag (using [semver](https://semver.org)) and press **"Publish release"**.
draft: true
files: metadata.json

0 comments on commit 1f4fa5a

Please sign in to comment.