sebbo2002 / semantic-release-jsr

Small semantic-release plugin, which adjusts the version in jsr.json and executes jsr publish
MIT License
5 stars 1 forks source link

Package does not publish to JSR in prerelease branch #13

Closed paambaati closed 3 months ago

paambaati commented 3 months ago

Thank you so much for building this plugin, as this has been so seamless to use with semantic-release.

When publishing a beta pre-release, this plugin does not publish to JSR, and uses the --dry-run flag. If you notice https://github.com/paambaati/neon-js-sdk/actions/runs/10097613226/job/27922854303, you'll see the npm plugin correctly publish the version though.

Is this a bug, or expected behavior?

paambaati commented 3 months ago

@sebbo2002 Actually, looking at the raw logs, I just noticed that the new beta version is detected correctly, and the npm plugin picks up the new value correctly, but somehow this plugin doesn't, and tries to re-publish the old version.

2024-07-25T16:09:32.1999210Z Current runner version: '2.317.0'
2024-07-25T16:09:32.2022265Z ##[group]Operating System
2024-07-25T16:09:32.2023075Z Ubuntu
2024-07-25T16:09:32.2023479Z 22.04.4
2024-07-25T16:09:32.2023844Z LTS
2024-07-25T16:09:32.2024299Z ##[endgroup]
2024-07-25T16:09:32.2024726Z ##[group]Runner Image
2024-07-25T16:09:32.2025180Z Image: ubuntu-22.04
2024-07-25T16:09:32.2025719Z Version: 20240721.1.0
2024-07-25T16:09:32.2026755Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240721.1/images/ubuntu/Ubuntu2204-Readme.md
2024-07-25T16:09:32.2028325Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240721.1
2024-07-25T16:09:32.2029250Z ##[endgroup]
2024-07-25T16:09:32.2029686Z ##[group]Runner Image Provisioner
2024-07-25T16:09:32.2030578Z 2.0.373.1
2024-07-25T16:09:32.2030987Z ##[endgroup]
2024-07-25T16:09:32.2032010Z ##[group]GITHUB_TOKEN Permissions
2024-07-25T16:09:32.2033594Z Contents: read
2024-07-25T16:09:32.2034053Z Metadata: read
2024-07-25T16:09:32.2034772Z ##[endgroup]
2024-07-25T16:09:32.2038010Z Secret source: Actions
2024-07-25T16:09:32.2038729Z Prepare workflow directory
2024-07-25T16:09:32.2651154Z Prepare all required actions
2024-07-25T16:09:32.2819246Z Getting action download info
2024-07-25T16:09:32.4952610Z Download action repository 'actions/checkout@v4' (SHA:692973e3d937129bcbf40652eb9f2f61becf3332)
2024-07-25T16:09:32.5980365Z Download action repository 'pnpm/action-setup@v4' (SHA:fe02b34f77f8bc703788d5817da081398fad5dd2)
2024-07-25T16:09:33.1443228Z Download action repository 'actions/setup-node@v4' (SHA:1e60f620b9541d16bece96c5465dc8ee9832be0b)
2024-07-25T16:09:33.3696456Z Complete job name: Release + Publish
2024-07-25T16:09:33.4666234Z ##[group]Run actions/checkout@v4
2024-07-25T16:09:33.4666953Z with:
2024-07-25T16:09:33.4667567Z   token: ***
2024-07-25T16:09:33.4668051Z   repository: paambaati/neon-js-sdk
2024-07-25T16:09:33.4668697Z   ssh-strict: true
2024-07-25T16:09:33.4669111Z   ssh-user: git
2024-07-25T16:09:33.4669549Z   persist-credentials: true
2024-07-25T16:09:33.4670136Z   clean: true
2024-07-25T16:09:33.4670802Z   sparse-checkout-cone-mode: true
2024-07-25T16:09:33.4671391Z   fetch-depth: 1
2024-07-25T16:09:33.4671929Z   fetch-tags: false
2024-07-25T16:09:33.4672384Z   show-progress: true
2024-07-25T16:09:33.4672795Z   lfs: false
2024-07-25T16:09:33.4673281Z   submodules: false
2024-07-25T16:09:33.4673728Z   set-safe-directory: true
2024-07-25T16:09:33.4674277Z ##[endgroup]
2024-07-25T16:09:33.6609570Z Syncing repository: paambaati/neon-js-sdk
2024-07-25T16:09:33.6611663Z ##[group]Getting Git version info
2024-07-25T16:09:33.6612800Z Working directory is '/home/runner/work/neon-js-sdk/neon-js-sdk'
2024-07-25T16:09:33.6614319Z [command]/usr/bin/git version
2024-07-25T16:09:33.6667857Z git version 2.45.2
2024-07-25T16:09:33.6692906Z ##[endgroup]
2024-07-25T16:09:33.6714331Z Temporarily overriding HOME='/home/runner/work/_temp/e3cac215-65bc-4f05-87d7-f04563c3177b' before making global git config changes
2024-07-25T16:09:33.6716701Z Adding repository directory to the temporary git global config as a safe directory
2024-07-25T16:09:33.6719197Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/neon-js-sdk/neon-js-sdk
2024-07-25T16:09:33.6753609Z Deleting the contents of '/home/runner/work/neon-js-sdk/neon-js-sdk'
2024-07-25T16:09:33.6757229Z ##[group]Initializing the repository
2024-07-25T16:09:33.6760903Z [command]/usr/bin/git init /home/runner/work/neon-js-sdk/neon-js-sdk
2024-07-25T16:09:33.6840559Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-07-25T16:09:33.6842827Z hint: is subject to change. To configure the initial branch name to use in all
2024-07-25T16:09:33.6844885Z hint: of your new repositories, which will suppress this warning, call:
2024-07-25T16:09:33.6846385Z hint:
2024-07-25T16:09:33.6847068Z hint:  git config --global init.defaultBranch <name>
2024-07-25T16:09:33.6847892Z hint:
2024-07-25T16:09:33.6848640Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2024-07-25T16:09:33.6850550Z hint: 'development'. The just-created branch can be renamed via this command:
2024-07-25T16:09:33.6851721Z hint:
2024-07-25T16:09:33.6852202Z hint:  git branch -m <name>
2024-07-25T16:09:33.6853184Z Initialized empty Git repository in /home/runner/work/neon-js-sdk/neon-js-sdk/.git/
2024-07-25T16:09:33.6855995Z [command]/usr/bin/git remote add origin https://github.com/paambaati/neon-js-sdk
2024-07-25T16:09:33.6892671Z ##[endgroup]
2024-07-25T16:09:33.6893776Z ##[group]Disabling automatic garbage collection
2024-07-25T16:09:33.6896182Z [command]/usr/bin/git config --local gc.auto 0
2024-07-25T16:09:33.6926183Z ##[endgroup]
2024-07-25T16:09:33.6927113Z ##[group]Setting up auth
2024-07-25T16:09:33.6932434Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-07-25T16:09:33.6963971Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-07-25T16:09:33.7325657Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-07-25T16:09:33.7356236Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-07-25T16:09:33.7604185Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2024-07-25T16:09:33.7639661Z ##[endgroup]
2024-07-25T16:09:33.7640658Z ##[group]Fetching the repository
2024-07-25T16:09:33.7648740Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +f28d12c5469d429bfa422a4112c19a8c0cb65f86:refs/remotes/origin/beta
2024-07-25T16:09:34.1782350Z From https://github.com/paambaati/neon-js-sdk
2024-07-25T16:09:34.1783473Z  * [new ref]         f28d12c5469d429bfa422a4112c19a8c0cb65f86 -> origin/beta
2024-07-25T16:09:34.1808731Z ##[endgroup]
2024-07-25T16:09:34.1809943Z ##[group]Determining the checkout info
2024-07-25T16:09:34.1811432Z ##[endgroup]
2024-07-25T16:09:34.1817052Z [command]/usr/bin/git sparse-checkout disable
2024-07-25T16:09:34.1860230Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2024-07-25T16:09:34.1889222Z ##[group]Checking out the ref
2024-07-25T16:09:34.1893452Z [command]/usr/bin/git checkout --progress --force -B beta refs/remotes/origin/beta
2024-07-25T16:09:34.1988790Z Switched to a new branch 'beta'
2024-07-25T16:09:34.1992281Z branch 'beta' set up to track 'origin/beta'.
2024-07-25T16:09:34.1998506Z ##[endgroup]
2024-07-25T16:09:34.2033840Z [command]/usr/bin/git log -1 --format='%H'
2024-07-25T16:09:34.2057114Z 'f28d12c5469d429bfa422a4112c19a8c0cb65f86'
2024-07-25T16:09:34.2334034Z ##[group]Run pnpm/action-setup@v4
2024-07-25T16:09:34.2334529Z with:
2024-07-25T16:09:34.2334973Z   dest: ~/setup-pnpm
2024-07-25T16:09:34.2335400Z   run_install: null
2024-07-25T16:09:34.2335820Z   package_json_file: package.json
2024-07-25T16:09:34.2336354Z   standalone: false
2024-07-25T16:09:34.2336731Z ##[endgroup]
2024-07-25T16:09:34.3171113Z ##[group]Running self-installer...
2024-07-25T16:09:34.8771693Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-07-25T16:09:34.8887515Z Packages: +1
2024-07-25T16:09:34.8888261Z +
2024-07-25T16:09:35.2647580Z Progress: resolved 1, reused 0, downloaded 1, added 1, done
2024-07-25T16:09:35.2949365Z 
2024-07-25T16:09:35.2949852Z dependencies:
2024-07-25T16:09:35.2950688Z + pnpm 9.6.0
2024-07-25T16:09:35.2951050Z 
2024-07-25T16:09:35.2977439Z Done in 819ms
2024-07-25T16:09:35.3133642Z ##[endgroup]
2024-07-25T16:09:35.3137790Z Installation Completed!
2024-07-25T16:09:35.3296892Z ##[group]Run actions/setup-node@v4
2024-07-25T16:09:35.3297394Z with:
2024-07-25T16:09:35.3297851Z   node-version: lts/*
2024-07-25T16:09:35.3298247Z   cache: pnpm
2024-07-25T16:09:35.3298722Z   registry-url: https://registry.npmjs.org
2024-07-25T16:09:35.3299533Z   always-auth: false
2024-07-25T16:09:35.3299936Z   check-latest: false
2024-07-25T16:09:35.3300561Z   token: ***
2024-07-25T16:09:35.3300930Z env:
2024-07-25T16:09:35.3301370Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:35.3301909Z ##[endgroup]
2024-07-25T16:09:35.4871066Z Attempt to resolve LTS alias from manifest...
2024-07-25T16:09:36.0507128Z Found in cache @ /opt/hostedtoolcache/node/20.15.1/x64
2024-07-25T16:09:36.0513241Z ##[group]Environment details
2024-07-25T16:09:36.4050163Z node: v20.15.1
2024-07-25T16:09:36.4051076Z npm: 10.7.0
2024-07-25T16:09:36.4051709Z yarn: 1.22.22
2024-07-25T16:09:36.4053087Z ##[endgroup]
2024-07-25T16:09:36.4080580Z [command]/home/runner/setup-pnpm/node_modules/.bin/pnpm store path --silent
2024-07-25T16:09:36.8383165Z /home/runner/setup-pnpm/node_modules/.bin/store/v3
2024-07-25T16:09:38.5541221Z Received 0 of 32235611 (0.0%), 0.0 MBs/sec
2024-07-25T16:09:38.9324830Z Cache Size: ~31 MB (32235611 B)
2024-07-25T16:09:38.9351142Z [command]/usr/bin/tar -xf /home/runner/work/_temp/9aae4884-b69a-4184-b596-4f53b8c9f26c/cache.tzst -P -C /home/runner/work/neon-js-sdk/neon-js-sdk --use-compress-program unzstd
2024-07-25T16:09:39.5418696Z Cache restored successfully
2024-07-25T16:09:39.5489351Z Cache restored from key: node-cache-Linux-pnpm-a5ab19bca0a0ca643114d1794869359f2398ac7800a24a126280be094814ea75
2024-07-25T16:09:39.5547251Z Received 32235611 of 32235611 (100.0%), 15.4 MBs/sec
2024-07-25T16:09:39.5741214Z ##[group]Run pnpm install
2024-07-25T16:09:39.5741860Z pnpm install
2024-07-25T16:09:39.5799676Z shell: /usr/bin/bash -e {0}
2024-07-25T16:09:39.5800134Z env:
2024-07-25T16:09:39.5800610Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:39.5801324Z   NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2024-07-25T16:09:39.5801927Z   NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2024-07-25T16:09:39.5802508Z ##[endgroup]
2024-07-25T16:09:40.0387081Z Lockfile is up to date, resolution step is skipped
2024-07-25T16:09:40.0850139Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-07-25T16:09:40.1739351Z Packages: +515
2024-07-25T16:09:40.1740674Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-07-25T16:09:40.7472096Z Progress: resolved 515, reused 515, downloaded 0, added 515, done
2024-07-25T16:09:41.2532646Z 
2024-07-25T16:09:41.2533356Z devDependencies:
2024-07-25T16:09:41.2534360Z + @hey-api/openapi-ts 0.50.0
2024-07-25T16:09:41.2535162Z + @sebbo2002/semantic-release-jsr 1.0.1
2024-07-25T16:09:41.2535987Z + @semantic-release/changelog 6.0.3
2024-07-25T16:09:41.2536793Z + @semantic-release/commit-analyzer 13.0.0
2024-07-25T16:09:41.2537602Z + @semantic-release/git 10.0.1
2024-07-25T16:09:41.2538265Z + @semantic-release/github 10.1.1
2024-07-25T16:09:41.2538989Z + @semantic-release/npm 12.0.1
2024-07-25T16:09:41.2539937Z + @semantic-release/release-notes-generator 14.0.1
2024-07-25T16:09:41.2540727Z + @types/jscodeshift 0.11.11
2024-07-25T16:09:41.2541295Z + jscodeshift 0.16.1
2024-07-25T16:09:41.2541800Z + tsup 8.2.2
2024-07-25T16:09:41.2542258Z + typescript 5.5.4
2024-07-25T16:09:41.2542563Z 
2024-07-25T16:09:41.2603829Z Done in 1.6s
2024-07-25T16:09:41.2867303Z ##[group]Run pnpm run build
2024-07-25T16:09:41.2867692Z pnpm run build
2024-07-25T16:09:41.2923067Z shell: /usr/bin/bash -e {0}
2024-07-25T16:09:41.2923446Z env:
2024-07-25T16:09:41.2923794Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:41.2924325Z   NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2024-07-25T16:09:41.2924811Z   NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2024-07-25T16:09:41.2925197Z ##[endgroup]
2024-07-25T16:09:41.6904040Z 
2024-07-25T16:09:41.6905452Z > neon-sdk@2.0.0-beta.3 build /home/runner/work/neon-js-sdk/neon-js-sdk
2024-07-25T16:09:41.6906371Z > tsup --config tsup.config.ts
2024-07-25T16:09:41.6906661Z 
2024-07-25T16:09:42.0391927Z CLI Building entry: generated/index.ts
2024-07-25T16:09:42.0393035Z CLI tsup v8.2.2
2024-07-25T16:09:42.0394669Z CLI Using tsup config: /home/runner/work/neon-js-sdk/neon-js-sdk/tsup.config.ts
2024-07-25T16:09:42.0446772Z CLI Target: node20
2024-07-25T16:09:42.0498767Z CLI Cleaning output folder
2024-07-25T16:09:42.0514577Z CJS Build start
2024-07-25T16:09:42.0515945Z ESM Build start
2024-07-25T16:09:42.0900870Z ESM dist/index.mjs 147.02 KB
2024-07-25T16:09:42.0902513Z ESM ⚡️ Build success in 38ms
2024-07-25T16:09:42.0903807Z CJS dist/index.js 154.75 KB
2024-07-25T16:09:42.0904954Z CJS ⚡️ Build success in 38ms
2024-07-25T16:09:42.3179928Z DTS Build start
2024-07-25T16:09:43.8092191Z DTS ⚡️ Build success in 1491ms
2024-07-25T16:09:43.8093290Z DTS dist/index.d.ts  250.21 KB
2024-07-25T16:09:43.8094378Z DTS dist/index.d.mts 250.21 KB
2024-07-25T16:09:43.8464072Z ##[group]Run pnpm dlx publint run --strict
2024-07-25T16:09:43.8464566Z pnpm dlx publint run --strict
2024-07-25T16:09:43.8518990Z shell: /usr/bin/bash -e {0}
2024-07-25T16:09:43.8519330Z env:
2024-07-25T16:09:43.8519680Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:43.8520203Z   NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2024-07-25T16:09:43.8520680Z   NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2024-07-25T16:09:43.8521073Z ##[endgroup]
2024-07-25T16:09:44.3766820Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-07-25T16:09:44.5916532Z  WARN  2 deprecated subdependencies found: glob@8.1.0, inflight@1.0.6
2024-07-25T16:09:44.5948505Z Packages: +17
2024-07-25T16:09:44.5949059Z +++++++++++++++++
2024-07-25T16:09:44.6086104Z Progress: resolved 17, reused 17, downloaded 0, added 17, done
2024-07-25T16:09:44.7411029Z neon-sdk lint results:
2024-07-25T16:09:44.7414814Z Suggestions:
2024-07-25T16:09:44.7417433Z 1. The package does not specify the type field. NodeJS may attempt to detect the package type causing a small performance hit. Consider adding "type": "commonjs".
2024-07-25T16:09:44.7638871Z ##[group]Run pnpm dlx jsr publish --dry-run
2024-07-25T16:09:44.7639350Z pnpm dlx jsr publish --dry-run
2024-07-25T16:09:44.7694240Z shell: /usr/bin/bash -e {0}
2024-07-25T16:09:44.7694589Z env:
2024-07-25T16:09:44.7694927Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:44.7695445Z   NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2024-07-25T16:09:44.7695917Z   NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2024-07-25T16:09:44.7696297Z ##[endgroup]
2024-07-25T16:09:45.3616579Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-07-25T16:09:45.5302885Z Packages: +4
2024-07-25T16:09:45.5303364Z ++++
2024-07-25T16:09:45.5409898Z Progress: resolved 4, reused 4, downloaded 0, added 4, done
2024-07-25T16:09:45.8834118Z Downloading JSR release binary...
2024-07-25T16:09:47.8021284Z Download completed
2024-07-25T16:09:47.8360545Z Checking for slow types in the public API...
2024-07-25T16:09:47.8539596Z Simulating publish of @httgp/neon-sdk@2.0.0-beta.3 with files:
2024-07-25T16:09:47.8541146Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/LICENSE (1.08KB)
2024-07-25T16:09:47.8542417Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/README.md (3.52KB)
2024-07-25T16:09:47.8543839Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/NeonClient.ts (2.04KB)
2024-07-25T16:09:47.8545390Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiError.ts (617B)
2024-07-25T16:09:47.8548434Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiRequestOptions.ts (603B)
2024-07-25T16:09:47.8550726Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiResult.ts (166B)
2024-07-25T16:09:47.8553406Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/BaseHttpRequest.ts (362B)
2024-07-25T16:09:47.8555903Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/CancelablePromise.ts (3.37KB)
2024-07-25T16:09:47.8558025Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/FetchHttpRequest.ts (676B)
2024-07-25T16:09:47.8559695Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/OpenAPI.ts (1.4KB)
2024-07-25T16:09:47.8561241Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/request.ts (9.63KB)
2024-07-25T16:09:47.8562700Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/index.ts (451B)
2024-07-25T16:09:47.8564222Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/AllowedIps.ts (848B)
2024-07-25T16:09:47.8565901Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BillingAccount.ts (1.72KB)
2024-07-25T16:09:47.8567750Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BillingSubscriptionType.ts (374B)
2024-07-25T16:09:47.8569457Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/Branch.ts (2.35KB)
2024-07-25T16:09:47.8571186Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BranchCreateRequest.ts (1.2KB)
2024-07-25T16:09:47.8573137Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/ConsumptionHistoryPerTimeframe.ts (419B)
2024-07-25T16:09:47.8574937Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/Features.ts (181B)
2024-07-25T16:09:47.8576630Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/OrganizationLimits.ts (712B)
2024-07-25T16:09:47.8578365Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/ProjectLimits.ts (782B)
2024-07-25T16:09:47.8580152Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/UserDeletionConditionName.ts (243B)
2024-07-25T16:09:47.8581838Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/schemas.gen.ts (91.4KB)
2024-07-25T16:09:47.8584583Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services.gen.ts (66.03KB)
2024-07-25T16:09:47.8586913Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/BranchService.ts (26.97KB)
2024-07-25T16:09:47.8589802Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/ConsumptionService.ts (10.17KB)
2024-07-25T16:09:47.8592328Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/ProjectService.ts (11.57KB)
2024-07-25T16:09:47.8594502Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/UsersService.ts (1.58KB)
2024-07-25T16:09:47.8596467Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/types.gen.ts (87.86KB)
2024-07-25T16:09:47.8598126Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/jsr.json (299B)
2024-07-25T16:09:47.8599501Z Warning Aborting due to --dry-run
2024-07-25T16:09:47.8600159Z 
2024-07-25T16:09:47.8600452Z Completed in 2s
2024-07-25T16:09:47.8878568Z ##[group]Run pnpm dlx semantic-release
2024-07-25T16:09:47.8879276Z pnpm dlx semantic-release
2024-07-25T16:09:47.8948581Z shell: /usr/bin/bash -e {0}
2024-07-25T16:09:47.8949088Z env:
2024-07-25T16:09:47.8949596Z   PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
2024-07-25T16:09:47.8950656Z   NPM_CONFIG_USERCONFIG: /dev/null
2024-07-25T16:09:47.8951287Z   NODE_AUTH_TOKEN: XXXXX-XXXXX-XXXXX-XXXXX
2024-07-25T16:09:47.8951915Z   NPM_USERNAME: gprasannah
2024-07-25T16:09:47.8952565Z   NPM_EMAIL: ***
2024-07-25T16:09:47.8953195Z   NPM_TOKEN: ***
2024-07-25T16:09:47.8953823Z   GITHUB_TOKEN: ***
2024-07-25T16:09:47.8954266Z   GIT_AUTHOR_NAME: GP
2024-07-25T16:09:47.8954720Z   GIT_AUTHOR_EMAIL: GP
2024-07-25T16:09:47.8955205Z   GIT_COMMITTER_NAME: me@httgp.com
2024-07-25T16:09:47.8955780Z   GIT_COMMITTER_EMAIL: me@httgp.com
2024-07-25T16:09:47.8956330Z ##[endgroup]
2024-07-25T16:09:48.4691015Z Progress: resolved 1, reused 0, downloaded 0, added 0
2024-07-25T16:09:49.4737392Z Progress: resolved 255, reused 250, downloaded 2, added 0
2024-07-25T16:09:49.6314344Z Packages: +274
2024-07-25T16:09:49.6315096Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-07-25T16:09:49.8571811Z Progress: resolved 274, reused 272, downloaded 2, added 274, done
2024-07-25T16:09:50.7791001Z [4:09:50 PM] [semantic-release] › ℹ  Running semantic-release version 24.0.0
2024-07-25T16:09:50.9836170Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/changelog"
2024-07-25T16:09:50.9838022Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:50.9839970Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
2024-07-25T16:09:50.9841556Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/git"
2024-07-25T16:09:50.9843770Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
2024-07-25T16:09:50.9846080Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
2024-07-25T16:09:50.9849200Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
2024-07-25T16:09:50.9852709Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/changelog"
2024-07-25T16:09:50.9855175Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:50.9856815Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
2024-07-25T16:09:50.9858054Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/git"
2024-07-25T16:09:50.9859702Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:50.9861710Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
2024-07-25T16:09:50.9863145Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
2024-07-25T16:09:50.9865663Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
2024-07-25T16:09:50.9867116Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
2024-07-25T16:09:50.9869458Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "success" from "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:50.9871104Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
2024-07-25T16:09:50.9873533Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:50.9874916Z [4:09:50 PM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
2024-07-25T16:09:54.2725345Z [4:09:54 PM] [semantic-release] › ✔  Run automated release from branch beta on repository git+https://github.com/paambaati/neon-js-sdk.git
2024-07-25T16:09:54.5354140Z [4:09:54 PM] [semantic-release] › ✔  Allowed to push to the Git repository
2024-07-25T16:09:54.5358446Z [4:09:54 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/changelog"
2024-07-25T16:09:54.5380624Z [4:09:54 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/changelog"
2024-07-25T16:09:54.5382061Z [4:09:54 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:54.5408848Z [4:09:54 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Run jsr publish in /home/runner/work/neon-js-sdk/neon-js-sdk with {"binFolder":"/tmp/semantic-release-jsr-nA1k6I","pkgJsonPath":"/home/runner/work/neon-js-sdk/neon-js-sdk/package.json","publishArgs":["--allow-dirty","--dry-run"]}
2024-07-25T16:09:54.8833570Z Downloading JSR binary...
2024-07-25T16:09:57.0153163Z Download completed
2024-07-25T16:09:57.0435929Z Checking for slow types in the public API...
2024-07-25T16:09:57.0537131Z Simulating publish of @httgp/neon-sdk@2.0.0-beta.3 with files:
2024-07-25T16:09:57.0539516Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/LICENSE (1.08KB)
2024-07-25T16:09:57.0541009Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/README.md (3.52KB)
2024-07-25T16:09:57.0542661Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/NeonClient.ts (2.04KB)
2024-07-25T16:09:57.0544440Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiError.ts (617B)
2024-07-25T16:09:57.0546376Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiRequestOptions.ts (603B)
2024-07-25T16:09:57.0548755Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/ApiResult.ts (166B)
2024-07-25T16:09:57.0550851Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/BaseHttpRequest.ts (362B)
2024-07-25T16:09:57.0552512Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/CancelablePromise.ts (3.37KB)
2024-07-25T16:09:57.0553571Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/FetchHttpRequest.ts (676B)
2024-07-25T16:09:57.0554822Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/OpenAPI.ts (1.4KB)
2024-07-25T16:09:57.0555756Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/core/request.ts (9.63KB)
2024-07-25T16:09:57.0556602Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/index.ts (451B)
2024-07-25T16:09:57.0557481Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/AllowedIps.ts (848B)
2024-07-25T16:09:57.0558446Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BillingAccount.ts (1.72KB)
2024-07-25T16:09:57.0559490Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BillingSubscriptionType.ts (374B)
2024-07-25T16:09:57.0560466Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/Branch.ts (2.35KB)
2024-07-25T16:09:57.0561428Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/BranchCreateRequest.ts (1.2KB)
2024-07-25T16:09:57.0562545Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/ConsumptionHistoryPerTimeframe.ts (419B)
2024-07-25T16:09:57.0563555Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/Features.ts (181B)
2024-07-25T16:09:57.0564510Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/OrganizationLimits.ts (712B)
2024-07-25T16:09:57.0565494Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/ProjectLimits.ts (782B)
2024-07-25T16:09:57.0566536Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/models/UserDeletionConditionName.ts (243B)
2024-07-25T16:09:57.0567517Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/schemas.gen.ts (91.4KB)
2024-07-25T16:09:57.0568387Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services.gen.ts (66.03KB)
2024-07-25T16:09:57.0569556Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/BranchService.ts (26.97KB)
2024-07-25T16:09:57.0570617Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/ConsumptionService.ts (10.17KB)
2024-07-25T16:09:57.0571873Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/ProjectService.ts (11.57KB)
2024-07-25T16:09:57.0572897Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/services/UsersService.ts (1.58KB)
2024-07-25T16:09:57.0574077Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/generated/types.gen.ts (87.86KB)
2024-07-25T16:09:57.0574863Z    file:///home/runner/work/neon-js-sdk/neon-js-sdk/jsr.json (299B)
2024-07-25T16:09:57.0575506Z Warning Aborting due to --dry-run
2024-07-25T16:09:57.0596661Z [4:09:57 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  jsr publish run successfully (took 2519 ms)
2024-07-25T16:09:57.0598171Z [4:09:57 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:57.0600067Z [4:09:57 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/npm"
2024-07-25T16:09:57.0662621Z [4:09:57 PM] [semantic-release] [@semantic-release/npm] › ℹ  Verify authentication for registry https://registry.npmjs.org/
2024-07-25T16:09:57.0677943Z [4:09:57 PM] [semantic-release] [@semantic-release/npm] › ℹ  Reading npm config from /home/runner/work/neon-js-sdk/neon-js-sdk/.npmrc
2024-07-25T16:09:57.0815514Z [4:09:57 PM] [semantic-release] [@semantic-release/npm] › ℹ  Wrote NPM_TOKEN to /tmp/7382ec95847fc9369ef3f1d51f78e7b7/.npmrc
2024-07-25T16:09:57.4388662Z gprasannah
2024-07-25T16:09:57.4449552Z [4:09:57 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/npm"
2024-07-25T16:09:57.4451523Z [4:09:57 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/git"
2024-07-25T16:09:57.4463657Z [4:09:57 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/git"
2024-07-25T16:09:57.4465638Z [4:09:57 PM] [semantic-release] › ℹ  Start step "verifyConditions" of plugin "@semantic-release/github"
2024-07-25T16:09:57.4480807Z [4:09:57 PM] [semantic-release] [@semantic-release/github] › ℹ  Verify GitHub authentication (https://api.github.com)
2024-07-25T16:09:57.4504209Z [4:09:57 PM] [semantic-release] › ✔  Completed step "verifyConditions" of plugin "@semantic-release/github"
2024-07-25T16:09:57.4586419Z [4:09:57 PM] [semantic-release] › ℹ  Found git tag v2.0.0-beta.4 associated with version 2.0.0-beta.4 on branch beta
2024-07-25T16:09:57.4693024Z [4:09:57 PM] [semantic-release] › ℹ  Found 7 commits since last release
2024-07-25T16:09:57.4697301Z [4:09:57 PM] [semantic-release] › ℹ  Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
2024-07-25T16:09:57.4747724Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: feat: track latest spec and regenerate bindings
2024-07-25T16:09:57.4767631Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The release type for the commit is minor
2024-07-25T16:09:57.4770134Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: Merge branch 'main' into beta
2024-07-25T16:09:57.4772526Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4774980Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: chore(docs): add link to CI badge
2024-07-25T16:09:57.4777339Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4779784Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: chore(docs): add link to CI badge
2024-07-25T16:09:57.4782598Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4785139Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: chore(docs): update link to JSR package
2024-07-25T16:09:57.4787613Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4789965Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: chore(deps): routine upgrade
2024-07-25T16:09:57.4792519Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4794866Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: chore: auto-fix npm errors for repo URL
2024-07-25T16:09:57.4797144Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
2024-07-25T16:09:57.4799375Z [4:09:57 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analysis of 7 commits complete: minor release
2024-07-25T16:09:57.4801563Z [4:09:57 PM] [semantic-release] › ✔  Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
2024-07-25T16:09:57.4862697Z [4:09:57 PM] [semantic-release] › ℹ  The next release version is 2.0.0-beta.5
2024-07-25T16:09:57.4866043Z [4:09:57 PM] [semantic-release] › ℹ  Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
2024-07-25T16:09:57.5238635Z [4:09:57 PM] [semantic-release] › ✔  Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
2024-07-25T16:09:57.5263884Z [4:09:57 PM] [semantic-release] › ℹ  Start step "prepare" of plugin "@semantic-release/changelog"
2024-07-25T16:09:57.5290037Z [4:09:57 PM] [semantic-release] [@semantic-release/changelog] › ℹ  Update /home/runner/work/neon-js-sdk/neon-js-sdk/CHANGELOG.md
2024-07-25T16:09:57.5309442Z [4:09:57 PM] [semantic-release] › ✔  Completed step "prepare" of plugin "@semantic-release/changelog"
2024-07-25T16:09:57.5405601Z [4:09:57 PM] [semantic-release] › ℹ  Start step "prepare" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:57.5431524Z [4:09:57 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Updating version in /home/runner/work/neon-js-sdk/neon-js-sdk/jsr.json
2024-07-25T16:09:57.5441159Z [4:09:57 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Wrote new version to /home/runner/work/neon-js-sdk/neon-js-sdk/jsr.json
2024-07-25T16:09:57.5443378Z [4:09:57 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Updating version in /home/runner/work/neon-js-sdk/neon-js-sdk/package.json
2024-07-25T16:09:57.5448308Z [4:09:57 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Wrote new version to /home/runner/work/neon-js-sdk/neon-js-sdk/package.json
2024-07-25T16:09:57.5449658Z [4:09:57 PM] [semantic-release] › ✔  Completed step "prepare" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:57.5512875Z [4:09:57 PM] [semantic-release] › ℹ  Start step "prepare" of plugin "@semantic-release/npm"
2024-07-25T16:09:57.5537741Z [4:09:57 PM] [semantic-release] [@semantic-release/npm] › ℹ  Write version 2.0.0-beta.5 to package.json in /home/runner/work/neon-js-sdk/neon-js-sdk
2024-07-25T16:09:57.6935441Z v2.0.0-beta.5
2024-07-25T16:09:57.6991284Z [4:09:57 PM] [semantic-release] › ✔  Completed step "prepare" of plugin "@semantic-release/npm"
2024-07-25T16:09:57.7054747Z [4:09:57 PM] [semantic-release] › ℹ  Start step "prepare" of plugin "@semantic-release/git"
2024-07-25T16:09:57.8088812Z [4:09:57 PM] [semantic-release] [@semantic-release/git] › ℹ  Found 2 file(s) to commit
2024-07-25T16:09:58.4652706Z [4:09:58 PM] [semantic-release] [@semantic-release/git] › ℹ  Prepared Git release: v2.0.0-beta.5
2024-07-25T16:09:58.4654569Z [4:09:58 PM] [semantic-release] › ✔  Completed step "prepare" of plugin "@semantic-release/git"
2024-07-25T16:09:58.4715882Z [4:09:58 PM] [semantic-release] › ℹ  Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
2024-07-25T16:09:58.4845312Z [4:09:58 PM] [semantic-release] › ✔  Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
2024-07-25T16:09:59.8873764Z [4:09:59 PM] [semantic-release] › ✔  Created tag v2.0.0-beta.5
2024-07-25T16:09:59.8874800Z [4:09:59 PM] [semantic-release] › ℹ  Start step "publish" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:09:59.8890230Z [4:09:59 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Run jsr publish in /home/runner/work/neon-js-sdk/neon-js-sdk with {"binFolder":"/tmp/semantic-release-jsr-nA1k6I","pkgJsonPath":"/home/runner/work/neon-js-sdk/neon-js-sdk/package.json","publishArgs":["--allow-dirty"]}
2024-07-25T16:10:00.0309130Z Checking for slow types in the public API...
2024-07-25T16:10:00.6972717Z Publishing @httgp/neon-sdk@2.0.0-beta.3 ...
2024-07-25T16:10:00.9274578Z Warning: Skipping, already published @httgp/neon-sdk@2.0.0-beta.3
2024-07-25T16:10:00.9325957Z [4:10:00 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  jsr publish run successfully (took 1044 ms)
2024-07-25T16:10:00.9327743Z [4:10:00 PM] [semantic-release] › ✔  Completed step "publish" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:10:00.9329630Z [4:10:00 PM] [semantic-release] › ℹ  Start step "publish" of plugin "@semantic-release/npm"
2024-07-25T16:10:00.9365782Z [4:10:00 PM] [semantic-release] [@semantic-release/npm] › ℹ  Publishing version 2.0.0-beta.5 to npm registry on dist-tag beta
2024-07-25T16:10:01.3450670Z 
2024-07-25T16:10:01.3451678Z > neon-sdk@2.0.0-beta.5 prepublishOnly
2024-07-25T16:10:01.3452492Z > npm run build
2024-07-25T16:10:01.3452807Z 
2024-07-25T16:10:01.4578457Z 
2024-07-25T16:10:01.4579237Z > neon-sdk@2.0.0-beta.5 build
2024-07-25T16:10:01.4580140Z > tsup --config tsup.config.ts
2024-07-25T16:10:01.4580596Z 
2024-07-25T16:10:01.7862135Z CLI Building entry: generated/index.ts
2024-07-25T16:10:01.7862903Z CLI tsup v8.2.2
2024-07-25T16:10:01.7863985Z CLI Using tsup config: /home/runner/work/neon-js-sdk/neon-js-sdk/tsup.config.ts
2024-07-25T16:10:01.7899182Z CLI Target: node20
2024-07-25T16:10:01.7943597Z CLI Cleaning output folder
2024-07-25T16:10:01.7954562Z CJS Build start
2024-07-25T16:10:01.7955570Z ESM Build start
2024-07-25T16:10:01.8286095Z CJS dist/index.js 154.75 KB
2024-07-25T16:10:01.8287180Z CJS ⚡️ Build success in 32ms
2024-07-25T16:10:01.8288142Z ESM dist/index.mjs 147.02 KB
2024-07-25T16:10:01.8289098Z ESM ⚡️ Build success in 33ms
2024-07-25T16:10:02.0653455Z DTS Build start
2024-07-25T16:10:03.5605692Z DTS ⚡️ Build success in 1495ms
2024-07-25T16:10:03.5606866Z DTS dist/index.d.ts  250.21 KB
2024-07-25T16:10:03.5607877Z DTS dist/index.d.mts 250.21 KB
2024-07-25T16:10:04.6377822Z npm notice
2024-07-25T16:10:04.6378877Z npm notice 📦  neon-sdk@2.0.0-beta.5
2024-07-25T16:10:04.6379490Z npm notice Tarball Contents
2024-07-25T16:10:04.6381404Z npm notice 1.1kB LICENSE
2024-07-25T16:10:04.6382084Z npm notice 3.6kB README.md
2024-07-25T16:10:04.6382856Z npm notice 256.2kB dist/index.d.mts
2024-07-25T16:10:04.6383647Z npm notice 256.2kB dist/index.d.ts
2024-07-25T16:10:04.6384425Z npm notice 158.5kB dist/index.js
2024-07-25T16:10:04.6385187Z npm notice 150.5kB dist/index.mjs
2024-07-25T16:10:04.6385894Z npm notice 2.2kB package.json
2024-07-25T16:10:04.6386568Z npm notice Tarball Details
2024-07-25T16:10:04.6387353Z npm notice name: neon-sdk
2024-07-25T16:10:04.6388140Z npm notice version: 2.0.0-beta.5
2024-07-25T16:10:04.6389052Z npm notice filename: neon-sdk-2.0.0-beta.5.tgz
2024-07-25T16:10:04.6389879Z npm notice package size: 113.1 kB
2024-07-25T16:10:04.6390906Z npm notice unpacked size: 828.3 kB
2024-07-25T16:10:04.6391837Z npm notice shasum: 52c53184080bbd1600e91e83cd3985d330b678a5
2024-07-25T16:10:04.6393647Z npm notice integrity: sha512-AVGDJji2C59hE[...]x6r3S/fgWjEug==
2024-07-25T16:10:04.6394617Z npm notice total files: 7
2024-07-25T16:10:04.6395200Z npm notice
2024-07-25T16:10:04.6396239Z npm notice Publishing to https://registry.npmjs.org/ with tag beta and public access
2024-07-25T16:10:05.4724348Z npm notice publish Signed provenance statement with source and build information from GitHub Actions
2024-07-25T16:10:05.4726595Z npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=115267778
2024-07-25T16:10:07.2791988Z + neon-sdk@2.0.0-beta.5
2024-07-25T16:10:07.2898067Z [4:10:07 PM] [semantic-release] [@semantic-release/npm] › ℹ  Published neon-sdk@2.0.0-beta.5 to dist-tag @beta on https://registry.npmjs.org/
2024-07-25T16:10:07.2905090Z [4:10:07 PM] [semantic-release] › ✔  Completed step "publish" of plugin "@semantic-release/npm"
2024-07-25T16:10:07.2906352Z [4:10:07 PM] [semantic-release] › ℹ  Start step "publish" of plugin "@semantic-release/github"
2024-07-25T16:10:07.7789414Z [4:10:07 PM] [semantic-release] [@semantic-release/github] › ℹ  Published GitHub release: https://github.com/paambaati/neon-js-sdk/releases/tag/v2.0.0-beta.5
2024-07-25T16:10:07.7792584Z [4:10:07 PM] [semantic-release] › ✔  Completed step "publish" of plugin "@semantic-release/github"
2024-07-25T16:10:07.7815450Z [4:10:07 PM] [semantic-release] › ℹ  Start step "success" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:10:07.7836006Z [4:10:07 PM] [semantic-release] [@sebbo2002/semantic-release-jsr] › ℹ  Removing temporary folder
2024-07-25T16:10:07.8127827Z [4:10:07 PM] [semantic-release] › ✔  Completed step "success" of plugin "@sebbo2002/semantic-release-jsr"
2024-07-25T16:10:10.7983335Z [4:10:07 PM] [semantic-release] › ℹ  Start step "success" of plugin "@semantic-release/github"
2024-07-25T16:10:10.7985508Z [4:10:10 PM] [semantic-release] [@semantic-release/github] › ℹ  Added comment to issue #83: https://github.com/paambaati/neon-js-sdk/pull/83#issuecomment-2250838288
2024-07-25T16:10:12.3018852Z [4:10:12 PM] [semantic-release] [@semantic-release/github] › ℹ  Added labels [ 'released on @beta' ] to issue #83
2024-07-25T16:10:13.8721165Z [4:10:13 PM] [semantic-release] [@semantic-release/github] › ℹ  Added comment to issue #68: https://github.com/paambaati/neon-js-sdk/issues/68#issuecomment-2250838445
2024-07-25T16:10:14.3711726Z [4:10:14 PM] [semantic-release] [@semantic-release/github] › ℹ  Added labels [ 'released on @beta' ] to issue #68
2024-07-25T16:10:14.5632633Z [4:10:14 PM] [semantic-release] › ✔  Completed step "success" of plugin "@semantic-release/github"
2024-07-25T16:10:14.5634334Z [4:10:14 PM] [semantic-release] › ✔  Published release 2.0.0-beta.5 on beta channel
2024-07-25T16:10:14.5966825Z Post job cleanup.
2024-07-25T16:10:14.7389495Z Cache hit occurred on the primary key node-cache-Linux-pnpm-a5ab19bca0a0ca643114d1794869359f2398ac7800a24a126280be094814ea75, not saving cache.
2024-07-25T16:10:14.7478010Z Post job cleanup.
2024-07-25T16:10:14.8277354Z Pruning is unnecessary.
2024-07-25T16:10:14.8393923Z Post job cleanup.
2024-07-25T16:10:14.9319720Z [command]/usr/bin/git version
2024-07-25T16:10:14.9357937Z git version 2.45.2
2024-07-25T16:10:14.9400470Z Temporarily overriding HOME='/home/runner/work/_temp/bb5859e3-a280-465f-b7bd-3cb1f3e88f96' before making global git config changes
2024-07-25T16:10:14.9402540Z Adding repository directory to the temporary git global config as a safe directory
2024-07-25T16:10:14.9414714Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/neon-js-sdk/neon-js-sdk
2024-07-25T16:10:14.9449319Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2024-07-25T16:10:14.9487300Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-07-25T16:10:14.9744184Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-07-25T16:10:14.9765282Z http.https://github.com/.extraheader
2024-07-25T16:10:14.9777626Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-07-25T16:10:14.9811460Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-07-25T16:10:15.0271931Z Cleaning up orphan processes
sebbo2002 commented 3 months ago

Oh damn. That looks like a bug that I overlooked in #10. The regex there (https://github.com/sebbo2002/semantic-release-jsr/blob/main/src/utils.ts#L98) does not match prereleases, so the version does not update at all. The code there would have to be adapted so that the regex also supports prereleases. In addition, the string should probably be checked for changes afterwards and a meaningful error message should be generated if updateVersionJson produces the same content of the file at the end. Simply to avoid such errors in the future.

I'm unfortunately traveling for the weekend and probably won't be able to get a fix until next week. Maybe @samialdury has time to take on the piece of code again, otherwise I'll take care of it next week. Thanks.

paambaati commented 3 months ago

@sebbo2002 Thanks for the response, would you mind if I raise a PR to fix this?

The regex you're looking for is this –

^([\s\S]*"version"\s*:\s*")([^"]+)("[\s\S]*$)

See https://regex101.com/r/ozSqGF/1

sebbo2002 commented 3 months ago

Of course not, pull requests are always very welcome. Please remember to add a test for it as well. Thank you in advance and I apologize again that I can’t take care of it myself right now.

paambaati commented 3 months ago

@sebbo2002 I've raised a PR to fix the incorrect version value parsing – see https://github.com/sebbo2002/semantic-release-jsr/pull/15.

In addition, the string should probably be checked for changes afterwards and a meaningful error message should be generated if updateVersionJson produces the same content of the file at the end. Simply to avoid such errors in the future.

Note that I've not addressed this.

sebbo2002 commented 3 months ago

:tada: This issue has been resolved in version 1.0.2-develop.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sebbo2002 commented 3 months ago

Note that I've not addressed this.

That's fine, I've made a note for next week and will add it then. I will also deploy a new version then. Until then you can try your fix with npm i -D @sebbo2002/semantic-release-jsr@1.0.2-develop.1.

paambaati commented 3 months ago

@sebbo2002 Thanks, I can confirm that with 1.0.2-develop.1, I am able to publish beta releases to JSR! 🥳

See https://github.com/paambaati/neon-js-sdk/actions/runs/10111407886/job/27963288556

sebbo2002 commented 3 months ago

:tada: This issue has been resolved in version 1.1.0-develop.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sebbo2002 commented 3 months ago

:tada: This issue has been resolved in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: