tldr/pages/common/git-release.md

18 lines
381 B
Markdown
Raw Normal View History

2021-06-06 20:07:52 +01:00
# git release
2021-06-07 17:17:12 +01:00
> Create a Git tag for a release.
2021-06-06 20:07:52 +01:00
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-release>.
2021-06-07 17:17:12 +01:00
- Create and push a release:
2021-06-06 20:07:52 +01:00
`git release {{tag_name}}`
2021-06-07 17:17:12 +01:00
- Create and push a signed release:
2021-06-06 20:07:52 +01:00
`git release {{tag_name}} -s`
2021-06-07 17:17:12 +01:00
- Create and push a release with a message:
2021-06-06 20:07:52 +01:00
`git release {{tag_name}} -m "{{message}}"`