GithubHelp home page GithubHelp logo

Comments (8)

webpro avatar webpro commented on May 18, 2024

You can use -n (or --non-interactive) to run without prompts. Also, -p (or --npm.publish) to auto-publish to npm. Would this work for you?

from release-it.

cdeutsch avatar cdeutsch commented on May 18, 2024

I should probably try non-interactive for a while, but I do like the interactive prompts.

I was just hoping there could be a setting in .release.json to set which prompts should default to "Y" vs "N".

I may make a PR if work settles down.

This has been a great tool by the way 👍

from release-it.

webpro avatar webpro commented on May 18, 2024

You can override the default settings in a local .release.json file.

from release-it.

cdeutsch avatar cdeutsch commented on May 18, 2024

Right, but I don't see an option to set this value:
https://github.com/webpro/release-it/blob/master/lib/enquiry.js#L79

from release-it.

webpro avatar webpro commented on May 18, 2024

It should be npm.publish, ie. {"npm": {"publish": true}}.

from release-it.

cdeutsch avatar cdeutsch commented on May 18, 2024

That will control non-interactive but not change (y/N) to (Y/n)

image

It's not a big deal. Just have to do a bit of extra training of co-workers to answer the last question with a "y"

from release-it.

StephanBijzitter avatar StephanBijzitter commented on May 18, 2024

Why don't you fully automate it, @crdeutsch ?
I also implemented it for several teams, but figured human error would be way too common, so instead I automated everything on our CI.

from release-it.

webpro avatar webpro commented on May 18, 2024

Closing due to inactivity. Feel free to re-open.

from release-it.

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.