[chore] Ensure current tag not set as GORELEASER_PREVIOUS_TAG (#3424)

* [chore] Ensure current tag not set as `GORELEASER_PREVIOUS_TAG`

* tweak tweak
This commit is contained in:
tobi 2024-10-13 14:53:35 +02:00 committed by GitHub
commit 86fb00da10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 4 deletions

View file

@ -195,7 +195,7 @@ Then install Node and Yarn as described in [Stylesheet / Web dev](#stylesheet--w
Finally, to create a snapshot build, do:
```bash
GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V -r | head -n 1) goreleaser --clean --snapshot
goreleaser release --clean --snapshot
```
If all goes according to plan, you should now have a number of multiple-architecture binaries and tars inside the `./dist` folder, and snapshot Docker images should be built (check your terminal output for version).