From 311eda2e721127c82da6279acbf7dc2af4a67e57 Mon Sep 17 00:00:00 2001 From: Partho Sarthi Date: Wed, 9 Aug 2023 10:26:08 -0700 Subject: [PATCH] Add URL to release branch (#44) Signed-off-by: Partho Sarthi --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85465d5f0..c61999c2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,8 +31,9 @@ jobs: if: steps.build_changelog.outputs.changes > 0 run: | CURRENT_DATE=$(date +'%Y-%m-%d') + BRANCH_URL=https://github.com/$GITHUB_REPOSITORY/tree/${{ github.ref_name }} echo -e "
\n" > CURRENT_CHANGELOG.md - echo "## Release ${{ github.ref_name }}" >> CURRENT_CHANGELOG.md + echo "## Release [${{ github.ref_name }}]($BRANCH_URL)" >> CURRENT_CHANGELOG.md echo "Generated on $CURRENT_DATE" >> CURRENT_CHANGELOG.md cat CURRENT_CHANGELOG.md CHANGELOG_BODY.md >> TEMP_CHANGELOG.md cat TEMP_CHANGELOG.md CHANGELOG.md > NEW_CHANGELOG.md