Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.
/ git-release Public archive

Git extension to allow writing markdown release notes in tag messages

License

Notifications You must be signed in to change notification settings

spenserblack/git-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

346a54c · Mar 7, 2022

History

18 Commits
Jan 23, 2022
Jan 20, 2022
Nov 10, 2021
Mar 7, 2022
Jan 20, 2022
Nov 10, 2021

Repository files navigation

git release

Status

Archiving this repository since I've made a very similar one here.

Motivation

I like to write release notes in an annotated tag message. I want to be able to write them in Markdown format, so that they can easily be translated to GitHub release notes. However, there's a problem stopping me from being able to do this: # to ###### are headers in Markdown, but comments in git messages.

This git extension is a shortcut to

  1. Change the comment character to ;
  2. Start git tag -a <tag name>
  3. Revert back to the previous comment character (or unset it if it wasn't set)
  4. Push the tag to the remote repo (remote.origin.url)

This pairs well with my Tag to Release action.

Installation

curl https://raw.githubusercontent.com/spenserblack/git-release/HEAD/install.sh | sh

Usage

git release <tag name> [commit-ish]

About

Git extension to allow writing markdown release notes in tag messages

Topics

Resources

License

Stars

Watchers

Forks

Languages