Conversation
|
If we were to add a .npmrc to git, I think we could simplify the instructions: preid=rc
tag-version-prefix=
message=chore: release %sWhen creating the RC, determine whether the next version will bump the major, minor, or patch and run the appropriate pre-version, eg. The tag-version-prefix and message values then keeps the autogenerated tag names and git commit messages consistent with our previous convention. (The default is just to commit the version and the tag name is prefixed with "v"). |
| git push origin main | ||
| git push origin v$(node -p "require('./package.json').version") |
There was a problem hiding this comment.
| git push origin main | |
| git push origin v$(node -p "require('./package.json').version") | |
| git push origin main v$(node -p "require('./package.json').version") |
This can be done in one command.
There was a problem hiding this comment.
Also, git describe --tags --abbrev=0 will give the latest tag so you don't need to prefix the version or call node at all.
git push origin main $(git describe --tags --abbrev=0)
|
Oh, looks like here we want the v prefix on the tag name. I was looking at idb-connector convention. |
|
Might be worth adding |
No description provided.