Docs: Add documentation on how to create a new tag

This commit is contained in:
Julian 2021-06-21 19:32:45 +02:00
parent e45d438d61
commit 65304a9894
Signed by: julian
GPG Key ID: 094C2AC34192FA11

View File

@ -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 <tagname> [<commit>]
```
3. Restore `git_annotated_tag_template` to its original state:
```
git restore git_annotated_tag_template
```
4. Push the new tag.
```
git push --tags
```