Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
/ version Public archive

This tool helps with Golang Module Versioning

Notifications You must be signed in to change notification settings

jredh/version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Versioning Tool

What it does

  • Updates your version file (it will not create one since this operates upon working directories and that'd be weird)
  • Adds the version tag to the commit to enable automatic release detection (you will need to push tags)

Instructions

  1. Have a version file in your working directory
  2. Install the package: $ go install github.com/jredhooper/version
  3. Execute the command against your repo or add it to your githook
  4. Usage:
$ version -help

Note: In order for this to work properly you need to push tags as well. To do this you can either

git push --follow-tags

or enable it permanently

git config --global push.followTags true

About

This tool helps with Golang Module Versioning

Resources

Stars

Watchers

Forks

Packages

No packages published