Current repository is using Trunk based development.
main
: Used for latest currently develop version1_x
: Used for maintenance branches of previous versionsUNOMI-XXX
: feature or bug fix branches used to create pull request targeting the main
branchChecks before starting the release process:
npm login
and your credentialsyarn lint
: ensure linter checks are passingyarn test
: ensure tests are passingyarn build
: ensure build is passingStart the release process:
package.json
is using correct version: 1.1.0
git tag -s v1.1.0 -m 'create v1.1.0 tag'
(-s
is used for signing using your local git GPG config)git push origin v1.1.0
.tar.gz
source package from Git previously created tag.gpg -ab unomi-tracker-1.1.0.tar.gz
.gpg --verify unomi-tracker-1.1.0.tar.gz.asc unomi-tracker-1.1.0.tar.gz
(Check that the signature is correctly using your Apache signature)shasum -a 512 unomi-tracker-1.1.0.tar.gz > unomi-tracker-1.1.0.tar.gz.sha512
.tar.gz
, .tar.gz.asc
, .tar.gz.sha512
) to Apache SVN: https://dist.apache.org/repos/dist/dev/unomi/unomi-tracker/1.1.0
(Create the folder if it doesn't exist)https://dist.apache.org/repos/dist/dev/unomi/unomi-tracker/1.1.0
to https://dist.apache.org/repos/dist/release/unomi/unomi-tracker/1.1.0
unomi-tracker-1.1.0
as released and add a release datehttps://dist.apache.org/repos/dist/release/unomi/unomi-tracker/1.1.0/unomi-tracker-1.1.0.tar.gz
npm publish
package.json
like 1.2.0
for example.