Git Product home page Git Product logo

Comments (3)

tsibley avatar tsibley commented on June 4, 2024

I would recommend (naturally) the approach I took in https://github.com/nextstrain/cli:

  • an augur/__version__.py that's simple enough to be statically parsed (for release management tooling)
  • …but that can still be used to import a __version__ variable at runtime (for a --version option or version subcommand to use).
  • setup.py then gets a snippet to read that file.

Does every push to master bump up the version?

No. The version should be managed manually and follow semantic versioning rules. Releases are things you version, not commits.

We should tag each version so that it's easy to checkout certain versions

Yes, totally. Here's what I did for nextstrain-cli: https://github.com/nextstrain/cli/blob/master/devel/release

augur --version should print the version

Yep, or augur version.

a changelog would also be a good idea at this point

Yes!

I think we start from 3.0.0

Sure.

from augur.

trvrb avatar trvrb commented on June 4, 2024

I endorse all of this.

from augur.

tsibley avatar tsibley commented on June 4, 2024

There's one bit of this that wasn't resolved by #210: a --version flag as an alias for augur version. I'll do that soon.

from augur.

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.