Skip to content
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

Release Pipeline #747

Closed
jpoon opened this issue Sep 10, 2016 · 3 comments
Closed

Release Pipeline #747

jpoon opened this issue Sep 10, 2016 · 3 comments

Comments

@jpoon
Copy link
Member

jpoon commented Sep 10, 2016

We need a better (ie. automated) way of releasing a new version. Right now the steps are:

  1. Get latest code (git pull) and ensure that the builds pass (check Travis)
  2. gulp release to update the package version and git push --follow-tags
  3. vsce package
  4. vsce publish
  5. Go to GitHub and update the releases page
  6. upload the vsix from step 3 to the releases page

Suggestion:

It'd be great if we could automate all 6 of those steps. However, as vsce publish requires a login/key, it's not something we want to put publicly in our repo.

I think we can still automate steps 2, 3, and 6.

  1. We have a releases branch where a merge/commit to that branch will start some CI build.
  2. Travis supports GitHub releases so we can get the CI to update the package version (2), vsce package (3), and auto-upload that to GitHub (6)
@jpoon
Copy link
Member Author

jpoon commented Sep 10, 2016

If this gets implemented, it would also eliminate step 2.

@johnfn
Copy link
Member

johnfn commented Sep 10, 2016

I'm fine with this, though since I do releases so infrequently it's never been a big pain point. I totally didn't know about uploading the vsix file on the github page though, that's clever.

While we're on the topic of releases, I think we should abandon our current versioning scheme and instead start incrementing the minor every time we add features and the patch every time we do a hotfix. I kinda messed this one up. So next release will be 0.2.0, then 0.3.0 etc.

@jpoon
Copy link
Member Author

jpoon commented Sep 11, 2016

You can pass in a personal access token: vsce publish -p <token> and Travis supported encrypted environment variables so building this pipeline should be do-able.

jpoon added a commit that referenced this issue Sep 19, 2016
@jpoon jpoon closed this as completed in 73dedd2 Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants