sanisoclem / calcver-cli Goto Github PK
View Code? Open in Web Editor NEWauto calculation of version based on http://conventionalcommits.org
auto calculation of version based on http://conventionalcommits.org
see setup of: https://github.com/johannhof/difference.rs
todos:
document the version calculation
appveyor
If the caller passes a subdir of a git repo, the program doesn't find the root path and will panic instead.
Not sure if this should be fixed,
moved from https://github.com/easy-semver/calcver-rs/issues/10
1. Check if there are pending changes to repo (bypass if --ignore-pending set)
1. Terminate if there are pendings changes
tldr; use idiomatic rust
Packaging native binaries as a dotnet global tool is not yet supported: https://github.com/dotnet/cli/issues/9488#issuecomment-397166215
Since support for this is not yet planned for any release, will set this on hold and re-implement in C# internally.
simplified version:
# -- uncomment to override defaults
#root: .
#repository_type: git
#prerelease_prefix: alpha
#tag_regex: \d+\.\d+\.\d+
#major_regex: "BREAKING CHANGE:"
#minor_regex: ^feat
#patch_regex: ^fix
cargo: .\cargo.toml
actions:
- .\bin\update-version.cmd #dummy update version for testing only
release.rs
currently have no tests. Since these functions have side effects, maybe I should write integration tests.
todo: define tests
allow version to be written to file(s) by:
not critical for v1 release since all changes are local
maybe use build scripts? https://doc.rust-lang.org/cargo/reference/build-scripts.html#case-study-code-generation
@joelleortiz thoughts? ironic no?
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.