diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 8dda4e1..6b0b43d 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,3 +1,4 @@ +{"_type":"issue","id":"molock-coj","title":"[GH#42-fix2] Fix gh release compatibility in workflow","description":"Technical Scope: Replace 'gh release create --clobber' with a more compatible logic (create then upload) in release.yml.","status":"open","priority":2,"issue_type":"task","owner":"fernando.ike@pws.cloud","created_at":"2026-05-24T01:52:36Z","created_by":"Fernando Ike","updated_at":"2026-05-24T01:52:36Z","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"molock-37k","title":"[GH#42-fix] Make release workflow resilient to existing releases","description":"Technical Scope: Add --clobber flag to gh release create in release.yml to allow updating existing releases.","status":"open","priority":2,"issue_type":"task","owner":"fernando.ike@pws.cloud","created_at":"2026-05-23T23:12:15Z","created_by":"Fernando Ike","updated_at":"2026-05-23T23:12:15Z","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"molock-d28","title":"[GH#42] Release v0.2.1","description":"Release tracking for version 0.2.1. Ref: https://github.com/fike/molock/issues/42","status":"open","priority":2,"issue_type":"task","owner":"fernando.ike@pws.cloud","created_at":"2026-05-23T17:45:42Z","created_by":"Fernando Ike","updated_at":"2026-05-23T17:45:42Z","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"molock-fl0","title":"[GH#40-fix] Fix SLSA Verification failure on main","description":"Product Definition: https://github.com/fike/molock/issues/39 (Related) \\n\\nTechnical Scope: Update release.yml to upload SLSA assets and ci.yml to be fault-tolerant when provenance is missing.","status":"closed","priority":2,"issue_type":"task","owner":"fernando.ike@pws.cloud","created_at":"2026-05-23T15:56:40Z","created_by":"Fernando Ike","updated_at":"2026-05-23T17:25:36Z","started_at":"2026-05-23T15:57:07Z","closed_at":"2026-05-23T17:25:36Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 446fb79..ba6329d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,11 +64,13 @@ jobs: - name: Create GitHub Release and upload tarball run: | + # Try to create the release, but don't fail if it already exists gh release create "${{ github.ref_name }}" \ --title "${{ github.ref_name }}" \ - --generate-notes \ - --clobber \ - release/*.tar.gz + --generate-notes || echo "Release already exists, proceeding to upload assets." + + # Upload assets to the release (this supports --clobber reliably) + gh release upload "${{ github.ref_name }}" release/*.tar.gz --clobber env: GH_TOKEN: ${{ github.token }}