Skip to content

Commit 8eb84e1

Browse files
committed
Add release notes link in the releases
1 parent 40950c5 commit 8eb84e1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,18 @@ jobs:
7979
run_id: ${{ github.run_id }}
8080
env:
8181
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
- id: extract_major_version
83+
run: |
84+
MAJOR_VERSION=$(echo ${{ needs.checkver.outputs.new_version }} | cut -d. -f1)
85+
echo "major_version=$MAJOR_VERSION" >> $GITHUB_OUTPUT
8286
8387
- uses: softprops/action-gh-release@v1
8488
with:
85-
files: |
86-
*.zip
87-
body: Built with GitHub Actions at ${{ fromJson(steps.get_workflow_runtime.outputs.data).updated_at }}
89+
files: '*.zip'
90+
body: |
91+
Built with GitHub Actions at ${{ fromJson(steps.get_workflow_runtime.outputs.data).updated_at }}
92+
93+
Release notes can be found [here](http://greenwoodsoftware.com/less/news.${{ steps.extract_major_version.outputs.major_version }}.html).
8894
tag_name: less-v${{ needs.checkver.outputs.new_version }}
8995
env:
9096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)