Skip to content

Commit d7f705d

Browse files
authored
chore(scripts): update release script to include rivetkit (#3265)
* chore(config): disable valid_hosts filter unless explicitly configured * chore(scripts): update release script to include rivetkit * chore(release): update version to 2.0.22-rc.1 * fix(release): build rivetkit before type check Some examples like example-deno depend on rivetkit being built before type checking can succeed. * chore(release): update version to 2.0.22-rc.1 * fix(example-deno): skip check-types when deno not installed The GitHub Actions CI environment doesn't have deno installed, so the example-deno check-types script now gracefully skips when deno is not available. * chore(release): update version to 2.0.22-rc.1 * fix(ci): add npm authentication to complete job The complete job needs NPM credentials to publish packages. Previously only the setup job had this configured. * chore(release): update version to 2.0.22-rc.1 * fix(release): prevent duplicate publishing of engine packages @rivetkit/engine-* packages were being published twice - once from enginePackagePaths and once from getRivetkitPackages. Now engine packages are excluded from the rivetkit packages list. * chore(release): update version to 2.0.22-rc.1 * fix(ci): add GH_TOKEN to complete job The complete job uses gh CLI to create GitHub releases, which requires GH_TOKEN to be set in the environment. * chore(release): update version to 2.0.22-rc.1
1 parent 6550101 commit d7f705d

File tree

93 files changed

+501
-752
lines changed

Some content is hidden

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

93 files changed

+501
-752
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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44
members = ["engine/packages/actor-kv","engine/packages/api-builder","engine/packages/api-peer","engine/packages/api-public","engine/packages/api-types","engine/packages/api-util","engine/packages/bootstrap","engine/packages/cache","engine/packages/cache-purge","engine/packages/cache-result","engine/packages/clickhouse-inserter","engine/packages/clickhouse-user-query","engine/packages/config","engine/packages/dump-openapi","engine/packages/engine","engine/packages/env","engine/packages/epoxy","engine/packages/error","engine/packages/error-macros","engine/packages/gasoline","engine/packages/gasoline-macros","engine/packages/guard","engine/packages/guard-core","engine/packages/internal","engine/packages/logs","engine/packages/metrics","engine/packages/namespace","engine/packages/pegboard","engine/packages/pegboard-gateway","engine/packages/pegboard-runner","engine/packages/pegboard-serverless","engine/packages/pools","engine/packages/runtime","engine/packages/service-manager","engine/packages/telemetry","engine/packages/test-deps","engine/packages/test-deps-docker","engine/packages/tracing-reconfigure","engine/packages/types","engine/packages/universaldb","engine/packages/universalpubsub","engine/packages/util","engine/packages/util-id","engine/packages/workflow-worker","engine/sdks/rust/api-full","engine/sdks/rust/data","engine/sdks/rust/epoxy-protocol","engine/sdks/rust/runner-protocol","engine/sdks/rust/ups-protocol"]
55

66
[workspace.package]
7-
version = "25.8.2"
7+
version = "2.0.22-rc.1"
88
edition = "2024"
99
authors = ["Rivet Gaming, LLC <[email protected]>"]
1010
license = "Apache-2.0"

engine/sdks/rust/api-full/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/README.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/actors_create_api.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/actors_delete_api.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/actors_get_or_create_api.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/actors_list_api.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/actors_list_names_api.rs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/rust/api-full/rust/src/apis/configuration.rs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)