Git Product home page Git Product logo

Comments (4)

jonnyreeves avatar jonnyreeves commented on June 1, 2024

OK, I've made some progress on this, however I am going around in circles and would appreciate some guidance :)

After following this guide, I've modified our .travis.yml to add a deploy step which successfully performs an npm publish --tag=next each time master builds.

This works great, however on successive builds of master the publish step fails with the following error:

npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! You cannot publish over the previously published versions: 0.7.0-pre. : ts-protoc-gen

I'm guessing I need to 'bump' the version in our package.version but I'm unsure how to do this; sure I cloud use something like standard-version to achieve this, but won't this result in an inifinite loop each time I commit the bumped package version? 😕

from ts-protoc-gen.

jonnyreeves avatar jonnyreeves commented on June 1, 2024

Ah ok, I was just overthinking this. Taking inspiration from the Typescript package and use the datestamp as a unique suffix on the package version, no need to commit it into the repository

from ts-protoc-gen.

jonnyreeves avatar jonnyreeves commented on June 1, 2024

Ok this is now done from a CI and release script level. Just need to update the README (and maybe the changelog) to mention that you can install prereleases using the @next tag

from ts-protoc-gen.

jonnyreeves avatar jonnyreeves commented on June 1, 2024

Done

from ts-protoc-gen.

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.