mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 10:12:11 +00:00
[chore] goreleaser - use custom previous tag (#3422)
This commit is contained in:
parent
c77faee057
commit
4716840c4e
|
@ -113,7 +113,7 @@ steps:
|
|||
commands:
|
||||
# Create a snapshot build with GoReleaser.
|
||||
- git fetch --tags
|
||||
- goreleaser release --clean --snapshot
|
||||
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser release --clean --snapshot
|
||||
|
||||
# Login to Docker, push Docker image snapshots + manifests.
|
||||
- /go/dockerlogin.sh
|
||||
|
@ -156,7 +156,7 @@ steps:
|
|||
commands:
|
||||
- git fetch --tags
|
||||
- /go/dockerlogin.sh
|
||||
- goreleaser release --clean
|
||||
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser release --clean
|
||||
when:
|
||||
event:
|
||||
include:
|
||||
|
@ -213,6 +213,6 @@ steps:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: e4eddd7db143f4c7d5ab4248114da363e23d086b7438dd057375e0b5d2060f1e
|
||||
hmac: 775bf28a96ff87f0f417f2b0fa2ecac025df1d9aa75bcc56bc3ba7d4780dce67
|
||||
|
||||
...
|
||||
|
|
|
@ -409,6 +409,7 @@ source:
|
|||
# https://goreleaser.com/customization/release/
|
||||
release:
|
||||
draft: true
|
||||
prerelease: auto
|
||||
header: |
|
||||
Here's version {{ .Version }} of GoToSocial.
|
||||
|
||||
|
|
|
@ -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 --rm-dist --snapshot
|
||||
GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser --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).
|
||||
|
|
Loading…
Reference in a new issue