Description
I think we need to figure out a good release process for this repo (not sure what the standard is for other webpack-contrib
repos). First things first, we should probably create:
- A
prepublish
npm script that runs the build so we don't forget to before publishing - Maybe a
postpublish
npm script that removes the/dist
directory?
I did add a release
script using standard-version
however I'm not really sure how to properly push the tagged commits up to the remote. I don't have permissions to directly push to master
and only "Rebase & Merge" / "Squash & Merge" are allowed for PRs which both leave the tag orphaned. Oddly enough, I am able to push tags directly to master so what I've been doing is a "Rebase & Merge", then delete the orphaned tag and create the same one on the new master
commit.
Any advice much appreciated. Seeing as I'm not going to be the lead maintainer on this repo, maybe it just makes sense to give master
privileges to whoever that's going to be and then they can run the release
script and push the commit directly to master
.
cc @TheLarkInn @d3viant0ne