Skip to content

Commit 5263884

Browse files
fix: Fix update to changelog in release process (#19)
* Fix changelog and add cargo.lock * Revert change to regex * Add changes that should have been in previous release
1 parent 7269257 commit 5263884

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uses: orhun/git-cliff-action@v4
5959
with:
6060
config: cliff.toml
61-
args: --verbose
61+
args: --tag ${{ github.event.inputs.version }} --verbose
6262
env:
6363
OUTPUT: CHANGELOG.md
6464
GITHUB_REPO: ${{ github.repository }}
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
git config --global user.name "${{ steps.app-token.outputs.user-name }}"
7070
git config --global user.email "${{ steps.app-token.outputs.user-email }}"
71-
git add package.json Cargo.toml index.js index.d.ts CHANGELOG.md LICENSE-3RD-PARTY.txt
71+
git add package.json Cargo.toml Cargo.lock index.js index.d.ts CHANGELOG.md LICENSE-3RD-PARTY.txt
7272
git commit -m "${{ github.event.inputs.version }}"
7373
git push
7474
- name: Set version output

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## [unreleased]
1+
## [0.0.0-preview.8] - 2025-10-08
22

33
### 🚀 Features
44

5-
- Improve release process using github workflow ([#18](https://github.com//issues/18))
5+
- Improve release process using github workflow ([#18](https://github.com/mongodb-js/atlas-local-lib-js/pull/18))
66
## [0.0.0-preview.7] - 2025-10-03
77

88
### ⚙️ Miscellaneous Tasks
@@ -23,7 +23,7 @@
2323

2424
### 🚀 Features
2525

26-
- Add Coveralls ([#9](https://github.com//issues/9))
26+
- Add Coveralls ([#9](https://github.com/mongodb-js/atlas-local-lib-js/pull/9))
2727
- Implement get_connection_string
2828

2929
### 🐛 Bug Fixes

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cliff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ trim = true
2626
render_always = true
2727
# An array of regex based postprocessors to modify the changelog.
2828
postprocessors = [
29-
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/$GITHUB_REPO/issues/${2}))" },
29+
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/mongodb-js/atlas-local-lib-js/pull/${2}))" },
3030
]
3131
# render body even when there are no releases to process
3232
# render_always = true
@@ -78,7 +78,7 @@ commit_parsers = [
7878
filter_commits = false
7979
# An array of link parsers for extracting external references, and turning them into URLs, using regex.
8080
link_parsers = [
81-
{ pattern = "#(\\d+)", href = "https://github.com/$GITHUB_REPO/issues/$1" }
81+
{ pattern = "#(\\d+)", href = "https://github.com/mongodb-js/atlas-local-lib-js/issues/$1" },
8282
]
8383
# Include only the tags that belong to the current branch.
8484
use_branch_tags = false

0 commit comments

Comments
 (0)