Change release tool
brunob opened this issue · 2 comments
mversion seems a bit unmaintained : latest commit from 2020 & many dependabot PR waiting since a while https://github.com/mikaelbr/mversion/pulls
Even if mversion still work for now, the dependabot message "We found potential security vulnerabilities in your dependencies." point to an alert linked to mversion.
I've started to search for an alternative tool, and found these one :
- https://www.npmjs.com/package/release-it seems nice & complete but the https://github.com/release-it/release-it#metrics part that mention google analytics sounds like a "no way !" for me
- https://github.com/fabiospampinato/bump nice seems to be the good alternative
- https://www.npmjs.com/package/np (with its
--yolo
mode) - https://www.npmjs.com/package/semantic-release nice but seems a bit overkill
Bonus, all these tools could also fix #320 !
Any thoughts @jieter ?
Yes, we should probably bring this process up to date. Ideally, I'd like to be able to release from within GitHub. I never looked into this before, but a quick google search surfaced this action:
https://github.com/marketplace/actions/npm-bump
From it's description, it turns out the npm
tool already supports incrementing the version: https://docs.npmjs.com/cli/v7/commands/npm-version#description. This might be enough to replace mversion
.
Yes, we should probably bring this process up to date. Ideally, I'd like to be able to release from within GitHub. I never looked into this before, but a quick google search surfaced this action:
Nice, that's the one i've found the most suitable for our needs :)
From it's description, it turns out the
npm
tool already supports incrementing the version: https://docs.npmjs.com/cli/v7/commands/npm-version#description. This might be enough to replacemversion
.
I've seen that too.
Anyway, nice things to come :)