Compare commits

..
Author SHA1 Message Date
Cursor AgentandPijus Kamandulis 7a9014422b Honor If-Match when deleting documents
Compare the document ETag and delete it in one datastore operation so a stale If-Match returns 412 and leaves the newer document in place.

Co-authored-by: Pijus Kamandulis <[email protected]>
2026-11-05 18:21:44 +00:00
2 changed files with 4 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5
with:
distribution: goreleaser
version: v2.20.0
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
+3 -5
View File
@@ -1,5 +1,3 @@
version: 2
builds:
- binary: cosmium
main: ./cmd/server
@@ -32,13 +30,13 @@ brews:
archives:
- id: bundle
formats: [tar.gz]
format: tar.gz
format_overrides:
- goos: windows
formats: [zip]
format: zip
- id: shared-libraries
meta: true
formats: [tar.gz]
format: "tar.gz"
wrap_in_directory: true
name_template: "{{ .ProjectName }}_{{ .Version }}_shared-libraries"
files: