From 761ac60118ad9a5fabaaca3ac80b8a33bff1810a Mon Sep 17 00:00:00 2001 From: Luke Sanderson Date: Wed, 8 Oct 2025 16:38:39 +0100 Subject: [PATCH 1/3] Fix changelog and add cargo.lock --- .github/workflows/release.yml | 4 ++-- cliff.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 991e597..5011de9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: uses: orhun/git-cliff-action@v4 with: config: cliff.toml - args: --verbose + args: --tag ${{ github.event.inputs.version }} --verbose env: OUTPUT: CHANGELOG.md GITHUB_REPO: ${{ github.repository }} @@ -68,7 +68,7 @@ jobs: run: | git config --global user.name "${{ steps.app-token.outputs.user-name }}" git config --global user.email "${{ steps.app-token.outputs.user-email }}" - git add package.json Cargo.toml index.js index.d.ts CHANGELOG.md LICENSE-3RD-PARTY.txt + git add package.json Cargo.toml Cargo.lock index.js index.d.ts CHANGELOG.md LICENSE-3RD-PARTY.txt git commit -m "${{ github.event.inputs.version }}" git push - name: Set version output diff --git a/cliff.toml b/cliff.toml index a0d0102..5acdf90 100644 --- a/cliff.toml +++ b/cliff.toml @@ -26,7 +26,7 @@ trim = true render_always = true # An array of regex based postprocessors to modify the changelog. postprocessors = [ - { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/$GITHUB_REPO/issues/${2}))" }, + { pattern = '\((\w+?\s*#([0-9]+))\)', replace = "([#${2}](https://github.com/mongodb-js/atlas-local-lib-js/pull/${2}))" }, ] # render body even when there are no releases to process # render_always = true @@ -78,7 +78,7 @@ commit_parsers = [ filter_commits = false # An array of link parsers for extracting external references, and turning them into URLs, using regex. link_parsers = [ - { pattern = "#(\\d+)", href = "https://github.com/$GITHUB_REPO/issues/$1" } + { pattern = "#(\\d+)", href = "https://github.com/mongodb-js/atlas-local-lib-js/issues/$1" }, ] # Include only the tags that belong to the current branch. use_branch_tags = false From a8f48e55293a6d62eb7428967cac0d42e535b7fc Mon Sep 17 00:00:00 2001 From: Luke Sanderson Date: Wed, 8 Oct 2025 16:48:10 +0100 Subject: [PATCH 2/3] Revert change to regex --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index 5acdf90..9bd1408 100644 --- a/cliff.toml +++ b/cliff.toml @@ -26,7 +26,7 @@ trim = true render_always = true # An array of regex based postprocessors to modify the changelog. postprocessors = [ - { pattern = '\((\w+?\s*#([0-9]+))\)', replace = "([#${2}](https://github.com/mongodb-js/atlas-local-lib-js/pull/${2}))" }, + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/mongodb-js/atlas-local-lib-js/pull/${2}))" }, ] # render body even when there are no releases to process # render_always = true From 2b9a6e40aaa9ed747f19d39869f01d3f212a0ca8 Mon Sep 17 00:00:00 2001 From: Luke Sanderson Date: Wed, 8 Oct 2025 16:50:22 +0100 Subject: [PATCH 3/3] Add changes that should have been in previous release --- CHANGELOG.md | 6 +++--- Cargo.lock | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f913ea8..c8943a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ -## [unreleased] +## [0.0.0-preview.8] - 2025-10-08 ### 🚀 Features -- Improve release process using github workflow ([#18](https://github.com//issues/18)) +- Improve release process using github workflow ([#18](https://github.com/mongodb-js/atlas-local-lib-js/pull/18)) ## [0.0.0-preview.7] - 2025-10-03 ### ⚙️ Miscellaneous Tasks @@ -23,7 +23,7 @@ ### 🚀 Features -- Add Coveralls ([#9](https://github.com//issues/9)) +- Add Coveralls ([#9](https://github.com/mongodb-js/atlas-local-lib-js/pull/9)) - Implement get_connection_string ### 🐛 Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index d1ddd05..443bbbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,7 +48,7 @@ dependencies = [ [[package]] name = "atlas_local" -version = "0.0.0-preview.7" +version = "0.0.0-preview.8" dependencies = [ "anyhow", "atlas-local",