Skip to content

Commit ef9f044

Browse files
committed
ci: update the changelog file generation
1 parent b2fa01f commit ef9f044

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
release:
1818
name: release
19-
runs-on: "ubuntu-latest"
19+
runs-on: "macos-latest"
2020
timeout-minutes: 15
2121
steps:
2222
- uses: actions/checkout@v6
@@ -74,7 +74,7 @@ jobs:
7474
echo "and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)." >> "$GITHUB_OUTPUT"
7575
echo "" >> "$GITHUB_OUTPUT"
7676
77-
git cliff --config ./cliff.toml --latest --strip header | awk 'NF{p=1} p' | tail -n +2 >> "$GITHUB_OUTPUT"
77+
git cliff --config ./cliff.toml --tag ${{ steps.next-version.outputs.NEXT_VERSION }} --unreleased --strip header | awk 'NF{p=1} p' | tail -n +2 >> "$GITHUB_OUTPUT"
7878
7979
echo "EOF" >> "$GITHUB_OUTPUT"
8080
- name: Commit changes

CHANGELOG.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
#### 1.x Releases
9-
- `1.3.x` Releases - [1.3.0](#130)
109
- `1.2.x` Releases - [1.2.0](#120)
1110
- `1.1.x` Releases - [1.1.0](#110)
1211
- `1.0.x` Releases - [1.0.1](#101) | [1.0.0](#100)
1312

1413
---
15-
16-
17-
## [1.3.0](https://github.com/space-code/validator/releases/tag/1.3.0)
18-
19-
Released on 2025-11-28. All issues associated with this milestone can be found using this [filter](https://github.com/space-code/validator/milestones?state=closed&q=1.3.0).
14+
## [Unreleased]
2015

2116
### Bug Fixes
2217
- Fix the lint action
@@ -168,8 +163,7 @@ Released on 2023-10-09. All issues associated with this milestone can be found u
168163
- Implement `Validator` package
169164
- Contributed by [@ns-vasilev](https://github.com/ns-vasilev) in Pull Request [#1](https://github.com/space-code/validator/pull/1).
170165

171-
[1.3.0]: https://github.com/space-code/validator/compare/1.2.0..1.3.0
166+
[unreleased]: https://github.com/space-code/validator/compare/1.2.0..HEAD
172167
[1.2.0]: https://github.com/space-code/validator/compare/1.1.0..1.2.0
173168
[1.1.0]: https://github.com/space-code/validator/compare/1.0.1..1.1.0
174169
[1.0.1]: https://github.com/space-code/validator/compare/1.0.0..1.0.1
175-

0 commit comments

Comments
 (0)