Skip to content

Commit

Permalink
ci: Print gathered release info
Browse files Browse the repository at this point in the history
So we can see what it's going to do in dry runs.
  • Loading branch information
GeorgesStavracas committed Oct 9, 2024
1 parent ba5f37d commit 83c5a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,15 @@ jobs:
releaseVersion=`perl -0777nE 'print $& if /(?<=Changes in ).*/' NEWS`
fi
echo "releaseVersion=$releaseVersion" | tee -a $GITHUB_ENV
echo $releaseVersion
# Extract the changelog
{
echo "releaseChangelog<<EOF"
perl -0777nE 'print $& if /(?<=\n\n).*?(?=\n\n)/sg' NEWS
echo "\nEOF"
} | tee -a $GITHUB_ENV
echo $releaseChangelog
# Check if version is a pre-release
if [ -z $preRelease ]; then
Expand All @@ -84,6 +86,7 @@ jobs:
echo "false";
fi
} | tee -a $GITHUB_ENV
echo $preRelease
- name: Tag release
if: ${{ !fromJSON(github.event.inputs.dryRun) }}
Expand Down

0 comments on commit 83c5a00

Please sign in to comment.