2024-05-11 05:33:54 +00:00
|
|
|
name: Post Release Notes
|
|
|
|
|
2024-01-10 14:48:23 +00:00
|
|
|
on:
|
|
|
|
push:
|
2024-01-20 12:07:33 +00:00
|
|
|
paths-ignore:
|
|
|
|
- scripts/docker/**
|
2024-01-10 14:48:23 +00:00
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
postRelease:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: checkout sources
|
2024-01-10 15:11:27 +00:00
|
|
|
uses: actions/checkout@v4
|
2024-05-11 05:33:54 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
submodules: recursive
|
2024-01-10 14:48:23 +00:00
|
|
|
|
2024-05-11 05:33:54 +00:00
|
|
|
- name: set the version information
|
2024-01-10 14:48:23 +00:00
|
|
|
id: version_number
|
2024-05-11 05:33:54 +00:00
|
|
|
uses: ./.github/actions/manage-version
|
|
|
|
with:
|
|
|
|
nightly-builds-secret: ${{ secrets.NIGHTLY_BUILDS }}
|
|
|
|
|
|
|
|
# since we are running this step on a pull request, we will skip build numbers in releases
|
|
|
|
- name: assemble release notes
|
|
|
|
env:
|
|
|
|
EVENT_HEAD_COMMIT_ID: ${{ github.event.head_commit.id }}
|
2024-01-10 14:48:23 +00:00
|
|
|
run: |
|
2024-05-11 05:33:54 +00:00
|
|
|
bash scripts/create-releasenotes.sh $EVENT_HEAD_COMMIT_ID
|
2024-01-10 14:48:23 +00:00
|
|
|
|
2024-01-31 21:14:20 +00:00
|
|
|
# add a file containing the release title so it can be picked up and listed on the release page on our web server
|
2024-01-10 14:48:23 +00:00
|
|
|
- name: publish release
|
2024-01-10 20:38:46 +00:00
|
|
|
if: github.event_name == 'push'
|
2024-01-10 14:48:23 +00:00
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
with:
|
2024-01-10 21:02:48 +00:00
|
|
|
tag_name: v${{ steps.version_number.outputs.version }}
|
2024-01-11 00:03:11 +00:00
|
|
|
repository: ${{ github.repository_owner }}/nightly-builds
|
2024-01-10 14:48:23 +00:00
|
|
|
token: ${{ secrets.NIGHTLY_BUILDS }}
|
|
|
|
prerelease: false
|
2024-01-31 21:14:20 +00:00
|
|
|
files: release_content_title.txt
|
2024-01-16 01:42:03 +00:00
|
|
|
body_path: gh_release_notes.md
|