We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Jordan Clark • 6 years ago

The amazing Brad Wood schooled me on Slack with an easier/better way to push revisions to modules, in your box.json add:


"scripts":{
"postVersion":"package set location='YOUR-GIT/PATH-HERE#v`package version`'",
"onRelease":"publish",
"postPublish":"!git push --follow-tags"
},

Replace YOUR-GIT/PATH-HERE for the specific project, then with commandbox you just type:
box bump --minor

And it will automatically increment the version number, tag the git release, push it to the origin, and publish the module to forgebox. Sweet.

mjclemente • 6 years ago

Jordan Clark Thanks for pointing that out! I can see that type of automation really saving some time, especially when managing and updating a number of modules.