Skip to content

Commit 31cd0a4

Browse files
authored
Merge branch 'main' into 10-26-fix_fe_empty_token_it_is_a_valid_token
2 parents b0b87b0 + d7f705d commit 31cd0a4

File tree

97 files changed

+563
-801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+563
-801
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ jobs:
6767
npm install -g tsx
6868
6969
if [ "${{ inputs.latest }}" = "true" ]; then
70-
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setupCi
70+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --phase setup-ci
7171
else
72-
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --setupCi
72+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --phase setup-ci
7373
fi
7474
7575
binaries:
@@ -246,15 +246,21 @@ jobs:
246246
env:
247247
R2_RELEASES_ACCESS_KEY_ID: ${{ secrets.R2_RELEASES_ACCESS_KEY_ID }}
248248
R2_RELEASES_SECRET_ACCESS_KEY: ${{ secrets.R2_RELEASES_SECRET_ACCESS_KEY }}
249+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
249250
run: |
251+
# Authenticate with NPM
252+
cat << EOF > ~/.npmrc
253+
//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
254+
EOF
255+
250256
# Install dependencies
251257
pnpm install
252258
253259
# Install tsx globally
254260
npm install -g tsx
255261
256262
if [ "${{ inputs.latest }}" = "true" ]; then
257-
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --completeCi --noValidateGit
263+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --phase complete-ci --no-validate-git
258264
else
259-
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --completeCi --noValidateGit
265+
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --no-latest --phase complete-ci --no-validate-git
260266
fi

0 commit comments

Comments
 (0)