Skip to content

Commit 081ba72

Browse files
committed
Merge branch 'stable'
2 parents 3ec41f4 + c421fe8 commit 081ba72

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: 🎁 Publish new release
1818
# Only run on manual dispatch or on merged 'release-' pull requests
1919
if: github.ref == 'refs/heads/stable' ||
20-
github.event.pull_request.merged == true && startsWith(github.head_ref, 'refs/heads/release/v') == true
20+
github.event.pull_request.merged == true && contains(github.head_ref, 'release/v') == true
2121
runs-on: ubuntu-latest
2222
steps:
2323

@@ -74,7 +74,13 @@ jobs:
7474
uses: thomaseizinger/[email protected]
7575
with:
7676
version: ${{ env.NBGV_SimpleVersion }}
77-
77+
78+
- name: 🛠️ Update changelog compare URLs
79+
shell: bash
80+
run: |
81+
sed -i -E "s/compare\/([0-9]+\.[0-9]+\.[0-9]+)\.\.\.([0-9]+\.[0-9]+\.[0-9]+)/compare\/v\1...v\2/" CHANGELOG.md
82+
sed -i -E "s/compare\/([0-9]+\.[0-9]+\.[0-9]+)\.\.\.HEAD/compare\/v\1...HEAD/" CHANGELOG.md
83+
7884
- name: 🛠️ Commit CHANGELOG.md to stable branch
7985
run: |
8086
git add CHANGELOG.md

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.20.13] - 2021-04-24
11+
1012
second test
1113

1214
## [1.19.6] - 2021-04-24
@@ -82,21 +84,23 @@ more of that
8284

8385
- Something was added.
8486

85-
[Unreleased]: https://github.com/bUnit-dev/workflows/compare/1.19.6...HEAD
87+
[Unreleased]: https://github.com/bUnit-dev/workflows/compare/v1.20.13...HEAD
88+
89+
[1.20.13]: https://github.com/bUnit-dev/workflows/compare/v1.19.6...v1.20.13
8690

87-
[1.19.6]: https://github.com/bUnit-dev/workflows/compare/1.15.18...1.19.6
91+
[1.19.6]: https://github.com/bUnit-dev/workflows/compare/v1.15.18...v1.19.6
8892

89-
[1.15.18]: https://github.com/bUnit-dev/workflows/compare/1.14.7...1.15.18
93+
[1.15.18]: https://github.com/bUnit-dev/workflows/compare/v1.14.7...v1.15.18
9094

91-
[1.14.7]: https://github.com/bUnit-dev/workflows/compare/1.13.5...1.14.7
95+
[1.14.7]: https://github.com/bUnit-dev/workflows/compare/v1.13.5...v1.14.7
9296

93-
[1.13.5]: https://github.com/bUnit-dev/workflows/compare/1.12.1...1.13.5
97+
[1.13.5]: https://github.com/bUnit-dev/workflows/compare/v1.12.1...v1.13.5
9498

95-
[1.12.1]: https://github.com/bUnit-dev/workflows/compare/1.11.15...1.12.1
99+
[1.12.1]: https://github.com/bUnit-dev/workflows/compare/v1.11.15...v1.12.1
96100

97-
[1.11.15]: https://github.com/bUnit-dev/workflows/compare/1.11.13...1.11.15
101+
[1.11.15]: https://github.com/bUnit-dev/workflows/compare/v1.11.13...v1.11.15
98102

99-
[1.11.13]: https://github.com/bUnit-dev/workflows/compare/1.11.8...1.11.13
103+
[1.11.13]: https://github.com/bUnit-dev/workflows/compare/v1.11.8...v1.11.13
100104

101105
[1.11.8]: https://github.com/bUnit-dev/workflows/compare/1.9...1.11.8
102106

0 commit comments

Comments
 (0)