Skip to content

Commit 77a63fa

Browse files
authored
Fixes to publish (#221)
1 parent 27f43ea commit 77a63fa

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ jobs:
2929
env:
3030
BuildNet9: true
3131
IgnoreTests: true
32+
- name: Get version from tag
33+
id: tag_name
34+
run: |
35+
echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
36+
shell: bash
3237
- name: Get Changelog Entry
3338
id: changelog_reader
3439
uses: mindsers/changelog-reader-action@v2
3540
with:
36-
version: ${{ github.ref }}
41+
validation_level: warn
42+
version: ${{ steps.tag_name.outputs.current_version }}
3743
path: ./CHANGELOG.md
3844
- name: Create Release
3945
id: create_release
@@ -43,7 +49,7 @@ jobs:
4349
with:
4450
tag_name: ${{ github.ref }}
4551
release_name: ${{ github.ref }}
46-
body: ${{ steps.changelog_reader.outputs.log_entry }}
52+
body: ${{ steps.changelog_reader.outputs.changes }}
4753
draft: false
4854
prerelease: false
4955
- name: Upload binaries to release

0 commit comments

Comments
 (0)