mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-25 05:06:38 +00:00
[chore/bugfix] goreleaser make previous_tag cmd busybox-compatible (#3423)
* [chore/bugfix] goreleaser make previous_tag cmd busybox-compatible * Please muy lorde
This commit is contained in:
parent
4716840c4e
commit
ab1cb12057
|
@ -113,7 +113,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
# Create a snapshot build with GoReleaser.
|
# Create a snapshot build with GoReleaser.
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser release --clean --snapshot
|
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V -r | head -n 1) goreleaser release --clean --snapshot
|
||||||
|
|
||||||
# Login to Docker, push Docker image snapshots + manifests.
|
# Login to Docker, push Docker image snapshots + manifests.
|
||||||
- /go/dockerlogin.sh
|
- /go/dockerlogin.sh
|
||||||
|
@ -156,7 +156,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- /go/dockerlogin.sh
|
- /go/dockerlogin.sh
|
||||||
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser release --clean
|
- GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V -r | head -n 1) goreleaser release --clean
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
|
@ -213,6 +213,6 @@ steps:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 775bf28a96ff87f0f417f2b0fa2ecac025df1d9aa75bcc56bc3ba7d4780dce67
|
hmac: 3f2066e1e1f7f05b7cdb51327d6c9aea5d06a3dbceb518421110d9c1c3b325f8
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -195,7 +195,7 @@ Then install Node and Yarn as described in [Stylesheet / Web dev](#stylesheet--w
|
||||||
Finally, to create a snapshot build, do:
|
Finally, to create a snapshot build, do:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V --reverse | head -n 1) goreleaser --clean --snapshot
|
GORELEASER_PREVIOUS_TAG=$(git tag -l | grep -v rc | sort -V -r | 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).
|
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