OpenTermsArchive / engine

Tracks contractual documents and exposes changes to the terms of online services.
https://opentermsarchive.org
European Union Public License 1.2
106 stars 30 forks source link

Automate package release with Semantic versioning #957

Closed Ndpnt closed 1 year ago

Ndpnt commented 1 year ago

This PR trigger a package release on GitHub and NPM with an appropriate version bump when merged on the main branch.

Changelog file is based on Common Changelog.

Ndpnt commented 1 year ago

Note: the release workflow will be available on the Actions tab only when this PR is merged on the main branch.

martinratinaud commented 1 year ago

I approved but could not test of course.

When this is done, we should update all instances with the npm version

MattiSG commented 1 year ago

As seen in a synchronous call with @ndpnt, we want to:

MattiSG commented 1 year ago

I don't find it relevant to downgrade the version to 0.0.0. This will lead to multiple versions in the VCS having the same version number. I don't think it's a problem if the first published version is 0.16.0 🙂

MattiSG commented 1 year ago

We want to publish on NPM under the name opentermsarchive.

MattiSG commented 1 year ago

I expect a conflict will happen on the v0.17.0 tag that has already been added to the repo, it should probably be removed before merging 🙂

Ndpnt commented 1 year ago

I expect a conflict will happen on the v0.17.0 tag that has already been added to the repo, it should probably be removed before merging 🙂

Already removed ;)