Skip to content

Commit dbb7384

Browse files
committed
Merge branch 'stable'
2 parents eb9ff10 + 19839c6 commit dbb7384

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
git add CHANGELOG.md
8484
git commit -S -m "Updated CHANGELOG.md for ${{ env.NBGV_SimpleVersion }} release"
85+
echo "RELEASE_COMMIT_HASH=git rev-parse stable" >> $GITHUB_ENV
8586
8687
- name: 🛠️ Building library in release mode
8788
run: dotnet pack src/ -c release -p:ContinuousIntegrationBuild=true
@@ -99,9 +100,10 @@ jobs:
99100
- name: 🛠️ Create GitHub release
100101
uses: thomaseizinger/[email protected]
101102
env:
102-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
GITHUB_TOKEN: ${{ env.RELEASE_COMMIT_HASH }}
103104
with:
104105
tag_name: v${{ env.SIMPLE_VERSION }}
106+
target_commitish: $(( git rev-parse stable ))
105107
name: Release ${{ env.SIMPLE_VERSION }}
106108
body: ${{ steps.changelog_reader.outputs.changes }}
107109
draft: false

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.20.24] - 2021-04-24
11+
12+
foo fooo fooo fooof
13+
1014
## [1.20.20] - 2021-04-24
1115

1216
asdfa sadf
@@ -93,7 +97,9 @@ more of that
9397

9498
- Something was added.
9599

96-
[Unreleased]: https://github.com/bUnit-dev/workflows/compare/v1.20.20...HEAD
100+
[Unreleased]: https://github.com/bUnit-dev/workflows/compare/v1.20.24...HEAD
101+
102+
[1.20.24]: https://github.com/bUnit-dev/workflows/compare/v1.20.20...v1.20.24
97103

98104
[1.20.20]: https://github.com/bUnit-dev/workflows/compare/v1.20.16...v1.20.20
99105

0 commit comments

Comments
 (0)