You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
One downside of this plugin is a dirty repository after every release. There is no other way for npm publish then setting the version in package.json (please teach me if you know any other way). This is fine on a CI system like jenkins, because we can just ignore the changes. But if you run one of the release tasks (snapshot, candidate, release) locally, you will always end up with a changed version field in package.json.
One way could be, to store the initial value of version field, and restore it after the release.
{
"version": "0.1.0"
}
The text was updated successfully, but these errors were encountered:
You could also store a template value like 0.0.0 or if possible %VERSION% or something.
At best something that might fail if a manual release with npm is executed. But this is outside of the scope if this plugin.
Description
One downside of this plugin is a dirty repository after every release. There is no other way for npm publish then setting the version in
package.json
(please teach me if you know any other way). This is fine on a CI system like jenkins, because we can just ignore the changes. But if you run one of the release tasks (snapshot
,candidate
,release
) locally, you will always end up with a changed version field in package.json.One way could be, to store the initial value of
version
field, and restore it after the release.The text was updated successfully, but these errors were encountered: