From 9cea227399d015de393a2e51b198dc05989eb93b Mon Sep 17 00:00:00 2001 From: Sophia Marie Terry Date: Fri, 1 Aug 2025 12:15:23 +0100 Subject: [PATCH 1/3] version bump and changelog config edits --- tools/spectral/ipa/CHANGELOG.md | 1 - tools/spectral/ipa/package-lock.json | 4 ++-- tools/spectral/ipa/package.json | 13 +++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/tools/spectral/ipa/CHANGELOG.md b/tools/spectral/ipa/CHANGELOG.md index bd48566089..f4ef532bb3 100644 --- a/tools/spectral/ipa/CHANGELOG.md +++ b/tools/spectral/ipa/CHANGELOG.md @@ -2,4 +2,3 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. -Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). diff --git a/tools/spectral/ipa/package-lock.json b/tools/spectral/ipa/package-lock.json index 8f2e7cbd5c..f3cf715877 100644 --- a/tools/spectral/ipa/package-lock.json +++ b/tools/spectral/ipa/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mongodb-js/ipa-validation-ruleset", - "version": "0.0.1-dev1", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mongodb-js/ipa-validation-ruleset", - "version": "0.0.1-dev1", + "version": "0.0.1", "license": "Apache-2.0", "dependencies": { "@stoplight/spectral-cli": "6.15.0", diff --git a/tools/spectral/ipa/package.json b/tools/spectral/ipa/package.json index 4a467a12c5..fd90db63ee 100644 --- a/tools/spectral/ipa/package.json +++ b/tools/spectral/ipa/package.json @@ -1,6 +1,6 @@ { "name": "@mongodb-js/ipa-validation-ruleset", - "version": "0.0.1-dev1", + "version": "0.0.1", "description": "Custom validation rules for MongoDB API Standards (IPA).", "keywords": [ "mongodb", @@ -36,8 +36,13 @@ }, "auto-changelog" : { "package" : true, - "commitPattern" : "[a-z]+(ipa): ", - "startingVersion" : "0.1.0", - "hideEmptyReleases" : true + "commitPattern": "[a-z]+\\(ipa\\):", + "since" : "2025-08-02", + "hideCredit": true, + "tagPattern": "none", + "hideEmptyReleases" : true, + "unreleasedOnly" : true, + "contributors": false, + "changeCount": 0 } } From e596c3bf006ef29b8f78e0f380fdf91556cbb19d Mon Sep 17 00:00:00 2001 From: Sophia Marie Terry Date: Fri, 1 Aug 2025 13:39:32 +0100 Subject: [PATCH 2/3] Fix changelog gen --- tools/spectral/ipa/CHANGELOG.md | 1 - tools/spectral/ipa/package.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/spectral/ipa/CHANGELOG.md b/tools/spectral/ipa/CHANGELOG.md index f4ef532bb3..f12fcce303 100644 --- a/tools/spectral/ipa/CHANGELOG.md +++ b/tools/spectral/ipa/CHANGELOG.md @@ -1,4 +1,3 @@ ### Changelog All notable changes to this project will be documented in this file. Dates are displayed in UTC. - diff --git a/tools/spectral/ipa/package.json b/tools/spectral/ipa/package.json index fd90db63ee..a2ee5943c7 100644 --- a/tools/spectral/ipa/package.json +++ b/tools/spectral/ipa/package.json @@ -37,11 +37,10 @@ "auto-changelog" : { "package" : true, "commitPattern": "[a-z]+\\(ipa\\):", - "since" : "2025-08-02", + "startingVersion" : "0.0.1", "hideCredit": true, "tagPattern": "none", "hideEmptyReleases" : true, - "unreleasedOnly" : true, "contributors": false, "changeCount": 0 } From d5260ff774686e7dc2d1e07e18d0ea377fe34266 Mon Sep 17 00:00:00 2001 From: Sophia Marie Terry Date: Fri, 1 Aug 2025 16:24:53 +0100 Subject: [PATCH 3/3] Reintroduce publish action --- .github/workflows/ipa-release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ipa-release.yml b/.github/workflows/ipa-release.yml index 2d89e61aaf..9b582c7e46 100644 --- a/.github/workflows/ipa-release.yml +++ b/.github/workflows/ipa-release.yml @@ -47,8 +47,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm ci working-directory: tools/spectral/ipa - - run: | - echo "Testing for publish workflow" - #working-directory: tools/spectral/ipa - #env: - #NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_TOKEN }} \ No newline at end of file + - run: npm publish --access public + working-directory: tools/spectral/ipa + env: + NODE_AUTH_TOKEN: ${{ secrets.IPA_VALIDATION_TOKEN }} \ No newline at end of file