Publishing a new version of our package with [email protected]
(with pnpm
) caused a missing v
prefix on the GitHub release name (observe the missing v
in the first URL below).
Digging in deeper reveals that two Git tags were created v1.1.0
and 1.1.0
, one with GitHub Release with release notes, one without:
stylelint-config-upleveled
Tags:
Logs from the publish:
β stylelint-config-upleveled git:(main) np --version
10.0.1
β stylelint-config-upleveled git:(main) np
Publish a new version of stylelint-config-upleveled (current: 1.0.7)
Commits:
- Ignore @theme for Tailwind CSS v4 f0701c0
- Update dependency typescript to v5.4.2 (#71) 75e287e
- Update dependency eslint to v8.57.0 (#70) ddeefe5
- Update dependency upgrades - non-major (#69) 4676887
- Update dependency eslint-config-upleveled to v7.8.0 (#68) bb095ba
- Update dependency eslint-config-upleveled to v7.7.1 (#67) bec07e3
- Update dependency upgrades - non-major (#66) cafded1
- Update dependency stylelint to ^16.2.0 (#65) 8d8847b
- Bump vite from 5.0.8 to 5.0.12 (#64) 09c9051
- Update dependency vitest to v1.2.1 (#63) 492160b
- Update dependency vitest to v1.1.3 (#62) a80a9d1
- Update dependency upgrades - non-major (#61) 0b6fa47
Commit Range:
v1.0.7...main
Registry:
https://registry.npmjs.org/
? Select SemVer increment or specify new version minor 1.1.0
β Prerequisite check
β Git
β Installing dependencies using pnpm
β Running tests
β Bumping version
β Publishing package
β Pushing tags
β Creating release draft on GitHub
stylelint-config-upleveled 1.1.0 published π
Is this intentional? I could not see this change in the 10.0.0 release notes
Maybe this was something introduced by the pnpm support PR by @mmkal or the followup pnpm commits by @tommy-mitchell?
The previous versions of np
created tags with the v
prefix, such as v1.0.7
here:
stylelint-config-upleveled
by running np
v
prefix (without GitHub Release + release notes)v
prefix (and with GitHub Release + release notes)Only a single tag + GitHub Release should be created, with a v
prefix and containing the release notes
np - 10.0.1
Node.js - 20.11.1
npm - 10.2.4
pnpm - 8.15.3
Git - 2.39.2
OS - macOS Sonoma 14.4
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too