svenito / versup Goto Github PK
View Code? Open in Web Editor NEWVersion up your project with ease.
Home Page: https://versup.readthedocs.io/
License: MIT License
Version up your project with ease.
Home Page: https://versup.readthedocs.io/
License: MIT License
Documentation needs to be fleshed out with more details on config settings and command line usage
Improve test coverage and generally improve tests
these will add the rc.x
to the end and increment the relevant version position also
0.0.1 -> prepatch -> 0.0.2-rc.1
0.0.1 -> preminor -> 0.1.0-rc.1
0.0.1 -> premajor -> 1.0.0-rc.1
A prerelease
would update the rc number only, and a new patch
, minor
, major
would keep the version as is and drop the rc (and build if present?)
It would be nice to be able to get the help with -h
:
> versup -h
Usage: versup [OPTIONS] COMMAND [ARGS]...
Try 'versup --help' for help.
Error: no such option: -h
Right now the global config is merged with the default config so that any new settings are present in the config. This does not change the default config on disk however.
Should the merge be written back to the main config, so that new settings are written to disk?
Versup is getting the latest tag from the global tag list instead of the current branch. If the current branch it should look for the latest version tag of any parent commits, across branches.
When running the command via python -m, we get:
>>> python -m versup -h
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
This is because click default to sys.args[0]
if the name is not explicitly given:
It would be great to update versup.command_line.main() to:
def main():
cli(prog_name="versup")
Right now it searches the commit log for that last semantic version which works, but is it reliable?
In some cases (changelogs etc) users may not want to update a file with new versions when running a pre-release versup. In that case we'd only want to run the file update on release, patch, minor, major
It would be great to ask user for confirmation if versup is being executed on a branch.
> version minor
You are tagging branch 'foo', continue? [Yn]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.