Skip to content

Commit

Permalink
Release version 5.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrouwerdigibase committed Mar 29, 2024
1 parent 99814a7 commit 3a11d51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
if: env.IS_VALID == 'true'
id: generate_notes
run: |
echo "PREVIOUS_TAG=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)" >> $GITHUB_ENV
RELEASE_NOTES=$(git log --pretty=format:"- %s" ${{ env.PREVIOUS_TAG }}..HEAD)
PREVIOUS_TAG=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)
RELEASE_NOTES=$(git log --pretty=format:"- %s" $PREVIOUS_TAG..HEAD)
if [[ -z "$RELEASE_NOTES" ]]; then
RELEASE_NOTES="No changes since the last release."
else
RELEASE_NOTES="## What's Changed"$'\n\n'"Release version ${{ env.VERSION }}:"$'\n'"$RELEASE_NOTES"$'\n\n'"**Full Changelog**: https://github.com/BIM-Tools/SketchUp-IFC-Manager/compare/${{ env.PREVIOUS_TAG }}...${{ env.VERSION }}"
RELEASE_NOTES="## What's Changed"$'\n\n'"Release version ${{ env.VERSION }}:"$'\n'"$RELEASE_NOTES"$'\n\n'"**Full Changelog**: https://github.com/BIM-Tools/SketchUp-IFC-Manager/compare/$PREVIOUS_TAG...${{ env.VERSION }}"
fi
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
echo "$RELEASE_NOTES" >> $GITHUB_ENV
Expand Down

0 comments on commit 3a11d51

Please sign in to comment.