-
Notifications
You must be signed in to change notification settings - Fork 282
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
Autorelease @next tag on master commits #147
Comments
Hey @bilby91 , thank you for preparing this. This week I don't have time to look into this and give any feedback. |
@RobinBuschmann No problem! Let me know! The setup above is working nice for me at the moment so I think it will work! |
Hmm, until now I've tagged the One question is left from my side: What needs to be done to give travis permission to publish to npm? Is setting the NPM_TOKEN as environment variable enough to achieve this? |
@RobinBuschmann Great! Yes, NPM_TOKEN should be available as an environment variable. You can take a look here for a simple example https://github.com/suttna/botbuilder-slack/blob/master/circle.yml. This is CircleCI implementation but it should be pretty similar. |
FWIW here are the docs: https://docs.travis-ci.com/user/deployment/npm/ You'll want to add deploy:
provider: npm
email: "YOUR_EMAIL_ADDRESS"
on:
branch: master
tag: next then add your encrypted token: travis encrypt YOUR_AUTH_TOKEN --add deploy.api_key |
@jbender thanks for your input :) but as stated here #143 (comment), I will configure it in a different way |
@bilby91 This |
@RobinBuschmann Yep, that is correct. To move to next version a new commit with the bump change needs to be done. Just that |
Yes! Make sense. Closing! |
I create this issue to follow the conversation in #143
The idea would be the following. Every time a new stable release is created. We need to dump the version to the release with beta. So, lets say that we just published 0.6.0. After that publish we need to create a new commit that changes the version to 0.7.0-beta.
When that commit is merged into master, CI will do the following:
For doing this, the ssh key that is in travis should have write access to the repo. Maybe we can follow this conversation in another commit.
The text was updated successfully, but these errors were encountered: