Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

ci: Integrate Zeus and release with the bot #403

Merged
merged 4 commits into from
Dec 4, 2017
Merged

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented Dec 1, 2017

This PR enables the release bot via Zeus. Essentially, to push a new release to npm you just have to bump the version and push the tag:

$ npm version patch -m "release: %s" # or minor or major
$ git push origin master --follow-tags 

After the Travis build succeeds, the bot will download the npm package tarball from Zeus and publish it to npm with its user. The package needs to show up on the Sentry developers team on npm for this to work.

Also, a release on GitHub is created and automatically gets the changelog from History.md.

Note that coverage and tests are still missing in Zeus. Also beware that once the package goes scoped, release.yml also needs to be updated.

screen shot 2017-12-01 at 14 12 50

@jan-auer jan-auer requested review from kamilogorek and a team December 1, 2017 13:01
Copy link
Contributor

@kamilogorek kamilogorek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one missing thing from docs. Other than this 👍 after we add node to npm team registry.

CONTRIBUTING.md Outdated
* [ ] Consider whether any changes warrant additions to these tests
* [ ] Stop and think "What version number should this be according to SemVer?"
* [ ] Add an entry to the [History](https://github.com/getsentry/raven-node/blob/master/History.md) file.
* [ ] Bump version number in `package.json` using `npm version -m 'release: %s'`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing patch, minor or major from npm version command

@jan-auer
Copy link
Member Author

jan-auer commented Dec 4, 2017

The package has already been added to the developers team, so we're good to go 👍

@kamilogorek
Copy link
Contributor

:shipit:

@kamilogorek kamilogorek merged commit 284d766 into master Dec 4, 2017
@kamilogorek kamilogorek deleted the ci/zeus-releases branch December 4, 2017 13:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants