Coder Social home page Coder Social logo

semver-builder's Introduction

semver-builder

Tool to build semantic versions for your project stored in Git.

Install

Makes binary mkver for your local user

bash <(wget -qO- https://raw.githubusercontent.com/sitnikovik/semver-builder/master/bin/installer)

There are

  • Options
    • -n to make binary with your custom name ever you prefer. For example -n command_name
    • -f to make binary without any confirms with default settings

How to build

Arguments and options

There are

  • Arguments
    • version type (one of patch, minor, major)
    • local to make version with local tag without push to origin
  • Options
    • -pa to make pre-alpha version
    • -a to make alpha version
    • -b to make beta version
    • -rc to make release-candidate version
    • -m to specify version with some description
    • -mt to specify version prefix with custom meta information
    • -f to make version without any confirms

Examples

# Makes patch as `0.0.1`
bash mkver patch
# Makes minor as `0.1.0-beta`
bash mkver minor -b
# Makes minor as `0.1.0-beta+1691045114`
bash mkver minor -b -mt "$(date +%s)"
# Makes minor as `0.1.0-beta+some_meta_info`
bash mkver minor -b -mt "some_meta_info"
# Makes minor as `0.1.0-beta` with tag message "Yet another version"
bash mkver minor -b -m "Yet another version"
# Makes patch as `0.0.1` with local tag
bash mkver patch local
# Makes version with wget
bash <(wget -qO- https://raw.githubusercontent.com/sitnikovik/semver-builder/master/bin/semver-builder) 

semver-builder's People

Contributors

sitnikovik avatar

Watchers

 avatar

semver-builder's Issues

Add binary file

Add binary file to /bin directory
Also add Makefile that builds that by bash script

Fix for OS X

This is not working on executing by installed shell script but only with wget implementation.
Please fix it.

Запилить кастомизацаию версий

Нужно сделать:

  • Стадия разработки (альфа, бета, релиз-кандидат)
  • Мета информации или метка времени
  • Описание версии передавать через опцию --message

Все опции должны быть необязательными

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.