Skip to content

Modern Docker Management, Designed for Everyone

chore: use semver tag for package builds

Kyle Mendell489bb8a4cfe8
diff --git a/.depot/workflows/build-next-images.yml b/.depot/workflows/build-next-images.yml
index 83c388aaf..5a824bc13 100644
--- a/.depot/workflows/build-next-images.yml
+++ b/.depot/workflows/build-next-images.yml
@@ -84,7 +84,7 @@ jobs:
with:
distribution: goreleaser-pro
version: "~> 2"
- args: release --clean --skip=announce,validate,homebrew
+ args: release --clean --nightly --skip=announce,validate,homebrew
env:
GITHUB_TOKEN: ${{ secrets.ARCANE_BOT_TOKEN }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
diff --git a/.github/workflows/build-next-images.yml b/.github/workflows/build-next-images.yml
index 5494a8bfc..23fb0300a 100644
--- a/.github/workflows/build-next-images.yml
+++ b/.github/workflows/build-next-images.yml
@@ -80,7 +80,7 @@ jobs:
with:
distribution: goreleaser-pro
version: "~> 2"
- args: release --clean --skip=announce,validate,homebrew
+ args: release --clean --nightly --skip=announce,validate,homebrew
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index a878764e8..96bc7c90e 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -206,6 +206,9 @@ checksum:
- glob: dist/arcane-cli_darwin_arm64_v8.0/arcane-cli
name_template: arcane-cli_darwin_arm64
+nightly:
+ version_template: "0.0.0-next.{{ .ShortCommit }}"
+
nfpms:
- id: arcane-cli
if: '{{ ne (index .Env "BUILD_NEXT") "true" }}'