Skip to content

Commit ea4c25e

Browse files
committed
release: re-enable hard-fail npm publish + drop redundant brew version line
NPM_TOKEN secret in the Nexstone/rift repo is now a classic Automation token (2FA-bypass by design), so the publish-npm job can fail-loud again rather than soft-fail. The continue-on-error guard was only needed for v0.1.1's first manual publish. The source-of-truth Homebrew formula (scripts/homebrew/rift.rb) drops the `version` line — `brew audit --strict` flags it as redundant when the URL already encodes the version. The tap repo's Formula/rift.rb has the same fix applied at v0.1.1.
1 parent 0e2b663 commit ea4c25e

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,6 @@ jobs:
208208
name: Publish to npm
209209
needs: publish-pypi
210210
runs-on: ubuntu-latest
211-
# npm requires 2FA for first publish of @nexstone/rift-cli; the CI
212-
# token isn't configured for bypass. Soft-fail so the GitHub Release
213-
# still publishes off PyPI. Manual publish from a developer machine
214-
# with `--otp=NNNNNN` covers v0.1.x; CI will be re-enabled once a
215-
# 2fa-bypass token is added to repo secrets.
216-
continue-on-error: true
217211
if: startsWith(github.ref, 'refs/tags/v') && (github.event_name != 'workflow_dispatch' || inputs.dry_run == 'false')
218212
environment:
219213
name: npm

scripts/homebrew/rift.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class Rift < Formula
1212
homepage "https://nexstone.io"
1313
# ── Versioned source — bumped automatically by .github/workflows/release.yml
1414
url "https://github.com/Nexstone/rift/archive/refs/tags/v0.1.1.tar.gz"
15-
version "0.1.1"
1615
sha256 "PLACEHOLDER_SHA256_AUTO_FILLED_BY_RELEASE_WORKFLOW"
1716
license "Apache-2.0"
1817

0 commit comments

Comments
 (0)