summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-10-12 16:26:21 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-12 16:26:21 +0200
commit4716840c4e581e6fb1a24f0938a2575853333049 (patch)
treecb437e7a5d7d49ba267c30f8ca50f3794bcba136 /.drone.yml
parent[chore] Update goreleaser, add release notes template (#3421) (diff)
downloadgotosocial-4716840c4e581e6fb1a24f0938a2575853333049.tar.xz
[chore] goreleaser - use custom previous tag (#3422)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 2bce22657..ae09a9083 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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
...