Skip to content

Conversation

@TabishB
Copy link
Contributor

@TabishB TabishB commented Oct 7, 2025


Summary
This PR fixes a packaging mistake where the 0.8.0 tarball printed 0.7.0 via openspec --version due to shipping the internal 0.7.0 package.json.


🧩 Changes

  • Add patch changeset for 0.8.1 (fix CLI version mismatch)

  • Add scripts/pack-version-check.mjs to:

    • Pack the tarball
    • Install it
    • Assert the CLI prints the tarball’s version
  • Update release script to run changeset version + build + pack-version check before publish


🔜 Follow-ups

  • Deprecate 0.8.0 on npm:

    npm deprecate @fission-ai/[email protected] "Incorrect internal version. Upgrade to 0.8.1."


✅ After Merge

  • Run:

    pnpm run release
    (or let CI publish)

  • Verify:

    npx @fission-ai/[email protected] --version
    → should print 0.8.1


TabishB and others added 4 commits October 7, 2025 15:41
…h changeset for 0.8.1\n- Add pack-version check to validate tarball version\n- Update release script to include versioning and guard
…\n\n- Run pack-version check before publish only\n- Remove redundant changeset version + explicit build in release script\n- Always cleanup temp dir and tgz\n- Quieter, faster npm install during guard
…d\n\n- Add scripts: release:ci (no version), release:local (runs changeset version)\n- Workflow uses release:ci to ensure version PR bump precedes publish\n- Pack guard: document npm vs pnpm choice; improve JSON fallback handling
@TabishB TabishB merged commit d070d08 into main Oct 8, 2025
6 checks passed
drvova pushed a commit to drvova/VovaSpec that referenced this pull request Oct 13, 2025
…ion-AI#123)

* fix: correct CLI version mismatch and add release guard\n\n- Add patch changeset for 0.8.1\n- Add pack-version check to validate tarball version\n- Update release script to include versioning and guard

* chore(release): simplify release script and harden pack-version-check\n\n- Run pack-version check before publish only\n- Remove redundant changeset version + explicit build in release script\n- Always cleanup temp dir and tgz\n- Quieter, faster npm install during guard

* chore(release): clarify CI vs local release scripts; refine pack guard\n\n- Add scripts: release:ci (no version), release:local (runs changeset version)\n- Workflow uses release:ci to ensure version PR bump precedes publish\n- Pack guard: document npm vs pnpm choice; improve JSON fallback handling
Kh05ifr4nD pushed a commit to Kh05ifr4nD/sorapec that referenced this pull request Jan 6, 2026
…ion-AI#123)

* fix: correct CLI version mismatch and add release guard\n\n- Add patch changeset for 0.8.1\n- Add pack-version check to validate tarball version\n- Update release script to include versioning and guard

* chore(release): simplify release script and harden pack-version-check\n\n- Run pack-version check before publish only\n- Remove redundant changeset version + explicit build in release script\n- Always cleanup temp dir and tgz\n- Quieter, faster npm install during guard

* chore(release): clarify CI vs local release scripts; refine pack guard\n\n- Add scripts: release:ci (no version), release:local (runs changeset version)\n- Workflow uses release:ci to ensure version PR bump precedes publish\n- Pack guard: document npm vs pnpm choice; improve JSON fallback handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants