Giter Site home page Giter Site logo

Comments (5)

Nikaple avatar Nikaple commented on May 28, 2024 1

Yeah definitely. I knew this workflow wasn't the best when I set it up, and even made a few mistakes with releases. Your PR will be very helpful to the project, I'm really appreciated for it!

from nest-typed-config.

Nikaple avatar Nikaple commented on May 28, 2024

It's actually correct this time, because the release was merged from alpha to next (which triggers the release of v2.0.1), and then from next to main (which will trigger v2.0.1 again but that will result in an npm error). So I guess we can delete the next branch, use only one major version, and use @latipun7/releaserc for semantic-release on the main branch?

from nest-typed-config.

latipun7 avatar latipun7 commented on May 28, 2024

So I guess we can delete the next branch, use only one major version

You don't need to delete it with my config. I believe it will release in the main branch as latest dist-tag in npm, but if you release in the next branch, this time the user needs to install your package with next dist-tag, so npm install nest-typed-config@next

To better understand the workflow, here's some nice explanations with examples.
The only difference with my config is, the latest dist-tag configured with the main branch, while next dist-tag is only configured with next branch only. While pre-release dist-tag for alpha & beta is configured in the branch alpha & beta.

and use @latipun7/releaserc for semantic-release on the main branch?

yes, if you agree to use my config, I could make the PR later 😁

from nest-typed-config.

Nikaple avatar Nikaple commented on May 28, 2024

The only difference with my config is, the latest dist-tag configured with the main branch, while next dist-tag is only configured with next branch only. While pre-release dist-tag for alpha & beta is configured in the branch alpha & beta.

At first the release branch was set to main only, but at some point I need next and alpha releases. Then I returned to semantic-release docs again, and found that the default config was somewhat "ok", so I deleted the release branch config. But I didn't notice that it's master branch not main branch in the default config. It's, just, surprising I think.

from nest-typed-config.

github-actions avatar github-actions commented on May 28, 2024

🎉 This issue has been resolved in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from nest-typed-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.