-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(build): added release support. Closes #54. Closes #24 #327
feat(build): added release support. Closes #54. Closes #24 #327
Conversation
a04a9a3
to
661458d
Compare
Pull Request Test Coverage Report for Build 198
💛 - Coveralls |
Pull Request Test Coverage Report for Build 218
💛 - Coveralls |
4b2de79
to
c938207
Compare
0f8725d
to
a65e122
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some clarifications ;)
Once the tag is pushed to GitHub, Travis picks it up and initiates a build. | ||
Travis executes builds, tests, then executes `npm run release:publish`. | ||
|
||
That script makes some checks then, if all succeed it publishes the different packages on npm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question... what if something goes wrong during these checks? what if this process fails? how to re-trigger the publish?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be optimistic for now: we'll use tag until we face an issue.
If we do face an issue, then we can switch to checking the commit message instead and make sure we can do the publish locally and not only through Travis
* creates a new git tag and pushes it | ||
* creates a github release page and makes it final | ||
|
||
After this, the release is tagged and visible on github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the commit "chore(release): release %s" is actually done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, it's used by release it when release:prepare is executed.
a65e122
to
108e077
Compare
108e077
to
101ceab
Compare
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Adds the possibility to release and publish a release in an automated fashion using Travis
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information