diff --git a/www/docs/cookbooks/index.md b/www/docs/cookbooks/index.md new file mode 100644 index 000000000..fae46f33a --- /dev/null +++ b/www/docs/cookbooks/index.md @@ -0,0 +1,5 @@ +# Cookbooks + +The idea here is to add examples of how to do specific things with GoReleaser. + +Feel free to contribute yours! diff --git a/www/docs/cookbooks/semantic-release.md b/www/docs/cookbooks/semantic-release.md new file mode 100644 index 000000000..50cd1fae0 --- /dev/null +++ b/www/docs/cookbooks/semantic-release.md @@ -0,0 +1,12 @@ +# Semantic Release + +GoReleaser does not create any tags, it just runs on what is already there. + +You can, though, leverage other tools to do the work for you, like for example +[svu](https://github.com/caarlos0/svu): + +```bash +git tag "$(svu next)" +git push --tags +goreleaser --rm-dist +``` diff --git a/www/mkdocs.yml b/www/mkdocs.yml index b32f07ad1..ca12fa104 100644 --- a/www/mkdocs.yml +++ b/www/mkdocs.yml @@ -83,6 +83,9 @@ nav: - deprecations.md - sponsors.md - contributing.md +- Cookbooks: + - About: cookbooks/index.md + - cookbooks/semantic-release.md - tutorials.md - links.md