diff --git a/.goreleaser.nightly.yml b/.goreleaser.nightly.yml index f776077100..d3dceda71d 100644 --- a/.goreleaser.nightly.yml +++ b/.goreleaser.nightly.yml @@ -1,4 +1,5 @@ --- +version: 2 builds: - main: "./cmd/spicedb" env: @@ -96,6 +97,4 @@ docker_manifests: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ incpatch .Version }}-next" -nightly: - name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}" + version_template: "{{ incpatch .Version }}-next" diff --git a/.goreleaser.windows.yml b/.goreleaser.windows.yml index 7afe272930..2fff3293eb 100644 --- a/.goreleaser.windows.yml +++ b/.goreleaser.windows.yml @@ -1,4 +1,5 @@ --- +version: 2 git: tag_sort: "-version:creatordate" prerelease_suffix: "-" @@ -32,7 +33,6 @@ chocolateys: owners: "AuthZed, Inc" title: "SpiceDB" project_url: "https://github.com/authzed/spicedb" - use: "archive" url_template: "https://github.com/authzed/spicedb/releases/download/{{ .Tag }}/{{ .ArtifactName }}" icon_url: "https://authzed.com/favicon.svg" copyright: "2024 AuthZed, Inc" @@ -50,6 +50,4 @@ chocolateys: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ incpatch .Version }}-next" -nightly: - name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}" + version_template: "{{ incpatch .Version }}-next" diff --git a/.goreleaser.yml b/.goreleaser.yml index 37fffa6b0a..5aa6c3b942 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ --- +version: 2 git: tag_sort: "-version:creatordate" prerelease_suffix: "-" @@ -48,29 +49,6 @@ nfpms: dst: "/usr/share/zsh/vendor-completions/_spicedb" file_info: mode: 0644 -furies: - - account: "authzed" - secret_name: "GEMFURY_PUSH_TOKEN" - disable: "{{ gt (len .Prerelease) 0 }}" -snapcrafts: - - name: "spicedb" - publish: true - summary: "A database that stores, computes, and validates application permissions" - description: | - SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. - - Developers create a schema and use client libraries to apply the schema to the database, insert relationships into the database, and query the database to efficiently check permissions in their applications. - grade: "stable" - confinement: "strict" - license: "Apache-2.0" - base: "core22" - apps: - spicedb: - command: "spicedb" - completer: "completions/spicedb.bash" - plugs: - - "network-bind" - - "network" brews: - name: "{{.ProjectName}}" <<: &brew-shared @@ -189,12 +167,10 @@ docker_manifests: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: use: "github-native" sort: "asc" -nightly: - name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}" release: draft: false prerelease: "auto"