2.3.0 • Published 1 year ago

@kokp520/auto-tagger v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

auto-tagger

This is a simple tag picker for using with git tags. Cause Doing the project development always tag a new version with develop feature. You can use this script to choose the tag version u want to use.

Maybe your app with the complex tag like kernel-mircoservice-v1.2.3 ... imagine the product have 10 services.

Hope can save your time.

Support

  • shell script
  • npm

Npm

Install

run this command to install the package.

npm install -g auto-tagger

Go to your project directory with .git and run this command.

cd /file/to/your/project/; auto-tagger

And you will see the tag list. alt text

Choose the tag for the last commit.

alt text

AND DON'T FORGET TO PUSH THE TAG TO THE REMOTE REPO.

After that, I will optimize the auto push feature to the remote repo.

git push --tags

Shell

Install

install fzf using brew:

brew install fzf

Usage

you can use my aother repo name adi-dosh for alias sheel script.

alias.sh >>> alt text

choose adi-tagPicker.sh >>> alt text

版本的選擇規則為: opt=("main", "mid", "fix")

選擇main調整大版本號, mid為新服務更新, fix為bug修復版本號 main => 2.0.0 mid => 1.3.0 fix => 1.2.4

alt text

Author

👤 adi

Donation

npm.io

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator