question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Releasing canary versions as commits are made on the `master` branch

See original GitHub issue

Hello everyone!

I have seen many people wanting the new version to be release so they can use some fixes and new features we have implemented but have not yet been released. Especially this one, so I talked to @keithamus on Slack and he had the idea of releasing tagged canary (or beta, whatever you find more suitable) versions as we merge commits on master. We could do this automatically using some CI tooling.

What do you guys think? If we did that people would be able to use the latest features (and they would be aware of that because they would need to explicitly use @canary when installing Chai) and we would also be able to get early feedback on the new things we merged to master. IMO this would be great, it not only improves the quality of the next releases with early bug fixes (related: Boehms Curve) but it would also allow our users to have the latest features they’ve been wanting so bad 😄

If everyone agrees we could also discuss how we’re going to do that, but I think it would be as simple as adding a new target to our makefile which runs an npm dist-tag command when running builds for the master branch (we could detect those builds by using the TRAVIS_BRANCH environment variable).

@keithamus @meeber and anyone that wants to participate, feel free to share your thoughts 👍

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

4reactions
meebercommented, Nov 25, 2016

Closing this since the Lucas Syndicate successfully released a canary version.

2reactions
keithamuscommented, Aug 24, 2016

So to expand:

  1. Merge 4.x branch to master.
  2. Release as 4.0.0-canary-1 using npm publish --tag canary so users may only install with npm i chai@canary
  3. Fix any show-stopper bugs we get, if none goto 6
  4. Release as 4.0.0-canary-n where n is last version + 1, still with --tag canary so that npm i chai@canary will get the latest 4.0.0-canary-n release
  5. Goto 3
  6. Change the version to 4.0.0 and publish with --tag latest (the default tag). 4.0.0 is done, rejoice.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Canary - Releases - Ember.js
Canary Channel​​ Canary releases are generated from each commit to the master branch of Ember and Ember Data. They may contain unstable features....
Read more >
Uno.UI release procedure
Once a release is planned, make a branch in release/stable (e.g. release/stable/1.29 ), and tag the commit using the requested version (e.g. 1.29...
Read more >
Canary Deployments - GitLab Docs
A popular Continuous Deployment strategy, where a small portion of the fleet is updated to the new version of your application.
Read more >
Releases - TypeScript ESLint
We release a canary version for each commit to main that passes all required checks. This release is performed automatically by the publish_canary_version...
Read more >
Implementing Cloud Run canary deployments with Git ...
git remote add gcp https://source.developers.google.com/p/$PROJECT_ID/r/cloudrun-progression git branch -m master git add . && git commit -m ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found