Skip to content

Fix the npm pack directory; document moving v0.1.0 through the tag ruleset - #84

Merged
imanimanyara merged 2 commits into
mainfrom
docs/tag-ruleset-move
Nov 13, 2026
Merged

imanimanyara merged 2 commits into
mainfrom
docs/tag-ruleset-move

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Summary

Two fixes found while moving v0.1.0 and publishing @laranail/emojis-picker 0.9.0.

  • Create the pack directory before npm pack. --pack-destination does not create its destination, so the first 0.9.0 publish (run 43451014327) failed in the build job with ENOENT. I introduced this in Picker style menu, UI fixes, API keys and CORS, security hardening, showcase #82. Reproduced locally (exit 254) and fixed. ToolingTest now requires the mkdir before the pack, and was seen failing without it.
  • docs/release.md: moving the tag goes through the tag ruleset. The doc said the repository has no tag ruleset. It has the family's, and git push --force origin v0.1.0 is refused with GH013. A move uses reset-release-tags.py --move, which lifts the ruleset for the one update and restores it. That is how v0.1.0 moved to 495224d today.

After merge

Re-dispatch the publish. The dispatch uses the workflow on main, so this needs no tag move:

gh workflow run npm-publish.yml -f tag=v0.1.0 -f version=0.9.0 -f registry=github

release.md said the repository has no tag ruleset. It has the family's, and a plain git push --force of v0.1.0 is refused with GH013 (measured 2026-11-13). The move goes through package-tools' reset-release-tags.py, which lifts the ruleset for the one update and restores it.
npm pack --pack-destination does not create its destination, so the first 0.9.0 publish (run 43451014327) failed in the build job with ENOENT. Reproduced locally (exit 254) and fixed; ToolingTest now requires the mkdir before the pack and was seen failing without it.
Copilot AI balanced review requested due to automatic review settings November 13, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@imanimanyara
imanimanyara merged commit a116788 into main Nov 13, 2026
13 checks passed
@imanimanyara
imanimanyara deleted the docs/tag-ruleset-move branch November 13, 2026 15:52
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