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.

[Discussion] Ideal Publishing Workflow

See original GitHub issue

After our retrospective for this last cycle, it became clear that we should revisit our release/publish workflow (particularly for bugs). This issue is to discuss what our ideal workflow/publish flow would be. We can then take the outcome of this and create action items to deliver against over the next release cycle 👍

Real quick background information on our previous process and existing process 👇

Previous process

Previously, we made use of an amazing tool called semantic-release. This allowed us to automatically publish packages for each of our repos whenever we merged in a Pull Request. This tool would detect what version change should occur by looking at the underlying commits from the Pull Request, and then would generate a release accordingly.

However, as our release cadence (and our team) grew, we ended up publishing too many releases and teams couldn’t keep up. This left teams feeling distrustful over the stability of certain releases, and ultimately created a desire to pin carbon and not worry about keeping it up to date as each release jump could span multiple versions and subsequently carried risk for product teams

The as-is

As a result of the above, we may several adjustments to our release process. These include:

  • Hotfixes, or bug fixes, are grouped as-needed instead of released as merged
  • Minor releases are planned and delivered against, instead of being generated/dictated by commits into master
  • Major releases follow a similar model to Minor
  • We ship canary releases on every merge to master for the next minor release

Things that are painful right now:

  • This process is incredibly manual, outside of canary
  • Because the process is manually, collecting and documenting changelogs is harder
    • We want to rely on conventional commits for this, but it keeps saying things should be a major change when they shouldn’t

The to-be

This is where you come in! Drop down any ideas or suggestions to improve this process 🙏

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mattrosnocommented, Jul 11, 2019

Related to https://github.com/carbon-design-system/carbon/issues/2666, maybe we define how we use conventional commit types to reduce the number of feats that do minor version bumps?

And with that, whitelist conventional commit scopes to help with changelogs?

1reaction
joshblackcommented, Jul 11, 2019

@elizabethsjudd one thing that could help out with this is our canary builds. On merge to master we publish changed packages under the corresponding canary tag on NPM:

image

Although unfortunately this doesn’t help in that CI case that you mentioned 😞 Just wanted to bring it up though 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a better publishing workflow - YouTube
In 2019, the Book Industry Study Group launched its workflow committee to ... and best practices related to improving publishing workflows.
Read more >
What are Your Publishing Workflow Best Practices?
A streamlined workflow is paramount to achieving success. What's your advice for establishing bulletproof publishing processes? workflow arrows.
Read more >
The Editorial Workflow of the Future: How Modern ...
A publishing workflow is, therefore, all of the things that have to happen to achieve publication. ... How do you attract good writers?...
Read more >
How to Develop Efficient Editorial Workflows
Each publisher needs to find the editorial workflow that best suits their content, goals and resources. What we present here is State of...
Read more >
How to Develop an Editorial Workflow - Web Publisher PRO
An editorial workflow is a standardized plan for how a publication will create, review, edit, and publish content. Ideally, every member of ...
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