Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(release): replace assets on same-tag reruns (MUL-7683) (#8812)
Multica Evecf2b84708dc6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 965fb9bdbb..448dc861b2 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -12,6 +12,12 @@ permissions:contents: writepackages: write+# Deleting and recreating a tag can enqueue multiple runs for the same ref.+# Serialize them so publishers never race while replacing same-name assets.+concurrency:+ group: release-${{ github.ref }}+ cancel-in-progress: false+jobs:verify:runs-on: ubuntu-latest@@ -445,6 +451,9 @@ jobs:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}# electron-builder's GitHub publisher reads this:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # Same-tag reruns must also replace Desktop assets after the+ # publisher's default two-hour safety window has elapsed.+ EP_GH_IGNORE_TIME: "true"# Disable code signing on Linux/Windows for now — the public# release is unsigned for these platforms, the CLI carries the# trust boundary. Set CSC_LINK in repo secrets to enablediff --git a/.goreleaser.yml b/.goreleaser.ymlindex a34979a1a7..d0b861f1c2 100644--- a/.goreleaser.yml+++ b/.goreleaser.yml@@ -2,6 +2,12 @@ version: 2project_name: multica+release:+ # GitHub rejects duplicate asset names with 422. On a same-tag rerun,+ # replace only the matching CLI artifact and retry the upload; unrelated+ # release assets (for example manually published macOS builds) stay intact.+ replace_existing_artifacts: true+builds:- id: multicamain: ./cmd/multica