github.com/goreleaser/goreleaser@v1.25.1/www/docs/cookbooks/semantic-release.md (about) 1 # Semantic Release 2 3 GoReleaser does not create any tags, it just runs on what is already there. 4 5 You can, though, leverage other tools to do the work for you, like for example 6 [svu](https://github.com/caarlos0/svu) or [semantic-release](https://github.com/semantic-release/semantic-release). 7 8 ## Example: svu 9 10 ```bash 11 git tag "$(svu next)" 12 git push --tags 13 goreleaser release --clean 14 ``` 15 16 ## Example: semantic-release 17 18 .releaserc.yml 19 20 ```yaml 21 preset: angular 22 plugins: 23 - "@semantic-release/commit-analyzer" 24 - "@semantic-release/release-notes-generator" 25 - "@semantic-release/changelog" 26 - "@semantic-release/git" 27 - - "@semantic-release/exec" 28 - publishCmd: | 29 echo "${nextRelease.notes}" > /tmp/release-notes.md 30 goreleaser release --release-notes /tmp/release-notes.md --clean 31 ``` 32 33 ```bash 34 npx -p @semantic-release/changelog -p @semantic-release/exec -p @semantic-release/git semantic-release 35 ```