From 65304a989470d356f27fe19bcffac5862a34d1aa Mon Sep 17 00:00:00 2001 From: Julian Schacher Date: Mon, 21 Jun 2021 19:32:45 +0200 Subject: [PATCH] Docs: Add documentation on how to create a new tag --- docs/Creating_a_New_Tag.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/Creating_a_New_Tag.md diff --git a/docs/Creating_a_New_Tag.md b/docs/Creating_a_New_Tag.md new file mode 100644 index 0000000..9cfb87d --- /dev/null +++ b/docs/Creating_a_New_Tag.md @@ -0,0 +1,22 @@ +# Creating a New Tag + +To create a new tag, do the following: + +1. Fill out `git_annotated_tag_template`. +2. Run the following command: + + ``` + git tag -a -F git_annotated_tag_template -s --cleanup=verbatim [] + ``` + +3. Restore `git_annotated_tag_template` to its original state: + + ``` + git restore git_annotated_tag_template + ``` + +4. Push the new tag. + + ``` + git push --tags + ```