Skip to content

chore(release): make just set-version bump Cargo + npm + all lockfiles#238

Merged
simongdavies merged 1 commit into
hyperlight-dev:mainfrom
simongdavies:improve-release-process
Jul 3, 2026
Merged

chore(release): make just set-version bump Cargo + npm + all lockfiles#238
simongdavies merged 1 commit into
hyperlight-dev:mainfrom
simongdavies:improve-release-process

Conversation

@simongdavies

Copy link
Copy Markdown
Member

just set-version now updates every workspace crate and the root Cargo.lock, the excluded extended_runtime fixture Cargo.lock, and the npm main package, 3 platform packages, optionalDependencies and package-lock.json in one atomic step, so a version bump cannot leave a stale lockfile that breaks CI (cargo --locked and npm ci --omit=optional).

Add a check-fixture-lock recipe wired into test-native-modules to fail fast on fixture-lock drift instead of a cryptic poisoned-LazyLock panic.

Rewrite docs/release.md to match the real flow: pushing a vX.Y.Z tag triggers CreateRelease.yml, which creates the release branch and publishes to crates.io and npm via OIDC trusted publishing; use just set-version for bumps.

@simongdavies simongdavies added kind/enhancement New feature or improvement kind/documentation Documentation changes labels Jul 3, 2026
@simongdavies simongdavies enabled auto-merge (squash) July 3, 2026 13:01
@simongdavies simongdavies removed the kind/enhancement New feature or improvement label Jul 3, 2026
just set-version now updates every workspace crate and the root Cargo.lock, the excluded extended_runtime fixture Cargo.lock, and the npm main package, 3 platform packages, optionalDependencies and package-lock.json in one atomic step, so a version bump cannot leave a stale lockfile that breaks CI (cargo --locked and npm ci --omit=optional).

Add a check-fixture-lock recipe wired into test-native-modules to fail fast on fixture-lock drift instead of a cryptic poisoned-LazyLock panic.

Rewrite docs/release.md to match the real flow: pushing a vX.Y.Z tag triggers CreateRelease.yml, which creates the release branch and publishes to crates.io and npm via OIDC trusted publishing; use just set-version for bumps.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies force-pushed the improve-release-process branch from 0de3c78 to 6221942 Compare July 3, 2026 13:04
Comment thread docs/release.md
@simongdavies simongdavies merged commit e85f2f0 into hyperlight-dev:main Jul 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants