Giter Club home page Giter Club logo

git-semver-tag's Introduction

git-semver-tag

GitHub Release Go Report Card GitHub Release status Continuous Build status Renovate Quality Gate Status Security Rating Bugs


Simple helper to release your git tag according to the semver spec.

Features

  • create git tags easily following semver guidelines
  • prefix-aware, will keep your prefix without any further doings
  • feels like a direct integration with git
  • ability to add custom suffix to your version tag without having to do it all manually
  • push the newly created tag to origin

Installation

using go ...

go install github.com/timo-reymann/git-semver-tag@latest

on Linux ...

curl -LO https://github.com/timo-reymann/git-semver-tag/releases/download/$(curl -Lso /dev/null -w %{url_effective} https://github.com/timo-reymann/git-semver-tag/releases/latest | grep -o '[^/]*$')/git-semver-tag_linux_amd64 && chmod +x git-semver-tag_linux_amd64
sudo mv git-semver-tag_linux_amd64 /usr/local/bin/git-semver-tag

on Mac with homebrew ...

brew install timo-reymann/homebrew-git-semver-tag/git-semver-tag 

Note: this creates a tap timo-reymann/git-semver-tag:

brew tap
homebrew/bundle
timo-reymann/git-semver-tag
[...]

on Mac ...

curl -LO https://github.com/timo-reymann/git-semver-tag/releases/download/$(curl -Lso /dev/null -w %{url_effective} https://github.com/timo-reymann/git-semver-tag/releases/latest | grep -o '[^/]*$')/git-semver-tag_darwin_amd64 && chmod +x git-semver-tag_darwin_amd64
sudo mv git-semver-tag_darwin_amd64 /usr/local/bin/git-semver-tag

Usage

To get usage info enter:

git semver-tag -h

As you may have recognized now semver-tag is registered as git subcommand.

Motivation

Sometimes semantic-release is just not the right thing to use and having to figure out the next semantic tag is sometimes to annoying. So here is a helper to plug in and avoid that

Contributing

I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the configuration
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

To get started please read the Contribution Guidelines.

Development

Requirements

Test

go test ./...

Build

go build -o git-semver-tag main.go

git-semver-tag's People

Contributors

muescha avatar renovate[bot] avatar timo-reymann avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

muescha

git-semver-tag's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

gomod
go.mod
  • go 1.19
  • github.com/manifoldco/promptui v0.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.