-
Notifications
You must be signed in to change notification settings - Fork 1
release: 0.32.0 #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: 0.32.0 #76
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "0.31.2" | ||
| ".": "0.32.0" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| configured_endpoints: 108 | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-3fbe762c99e8a120c426ac22bc1fa257c9127d631b12a38a6440a37f52935543.yml | ||
| openapi_spec_hash: 5a190df210ed90b20a71c5061ff43917 | ||
| config_hash: 38c9b3b355025daf9bb643040e4af94e | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f967d3024897a6125d5d18c4577dbb2cc22d742d487e6a43165198685f992379.yml | ||
| openapi_spec_hash: e1c40ef0aee3a79168eb9cc854a9e403 | ||
| config_hash: 3b1fbbb6bda0dac7e8b42e155cd7da56 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,12 @@ | |
|
|
||
| set -eux | ||
|
|
||
| npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN" | ||
| if [[ ${NPM_TOKEN:-} ]]; then | ||
| npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN" | ||
| elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then | ||
| echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission" | ||
| exit 1 | ||
| fi | ||
|
|
||
| yarn build | ||
| cd dist | ||
|
|
@@ -57,5 +62,9 @@ else | |
| TAG="latest" | ||
| fi | ||
|
|
||
| # Install OIDC compatible npm version | ||
| npm install --prefix ../oidc/ npm@11.6.2 | ||
|
|
||
| # Publish with the appropriate tag | ||
| yarn publish --tag "$TAG" | ||
| export npm_config_registry='https://registry.npmjs.org' | ||
| ../oidc/node_modules/.bin/npm publish --tag "$TAG" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| export const VERSION = '0.31.2'; // x-release-please-version | ||
| export const VERSION = '0.32.0'; // x-release-please-version |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release environment check script now performs no validation
Low Severity
The
check-release-environmentscript now creates an emptyerrorsarray, checks if it has elements (it never will), and always outputs "The environment is ready to push releases!" without validating anything. This is dead code that provides false assurance. The release doctor workflow still invokes this script expecting it to catch configuration issues, but it will always succeed regardless of the actual environment state. The script either needs OIDC-related checks or removal.