diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 6dad6762..6535fe28 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -10,6 +10,10 @@ on: description: 'Tag to build (e.g., v0.12.0)' required: true type: string + source_ref: + description: 'Source ref to build/publish (defaults to tag; use only for release recovery)' + required: false + type: string permissions: {} @@ -20,11 +24,12 @@ jobs: contents: write env: RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }} + SOURCE_REF: ${{ github.event.inputs.source_ref || github.event.inputs.tag || github.ref_name }} steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - ref: ${{ env.RELEASE_TAG }} + ref: ${{ env.SOURCE_REF }} persist-credentials: false - name: Setup Bun @@ -91,11 +96,12 @@ jobs: id-token: write env: RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }} + SOURCE_REF: ${{ github.event.inputs.source_ref || github.event.inputs.tag || github.ref_name }} steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - ref: ${{ env.RELEASE_TAG }} + ref: ${{ env.SOURCE_REF }} persist-credentials: false - name: Setup Node.js diff --git a/packages/agent/package.json b/packages/agent/package.json index b17b6925..1606d965 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -45,7 +45,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/earendil-works/pi-mono.git", + "url": "git+https://github.com/earendil-works/pi.git", "directory": "packages/agent" }, "engines": { diff --git a/packages/ai/package.json b/packages/ai/package.json index cb87a1f3..3ccc240b 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -92,7 +92,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/earendil-works/pi-mono.git", + "url": "git+https://github.com/earendil-works/pi.git", "directory": "packages/ai" }, "engines": { diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.json index 2af9e198..c03cc2a6 100644 --- a/packages/coding-agent/package.json +++ b/packages/coding-agent/package.json @@ -89,7 +89,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/earendil-works/pi-mono.git", + "url": "git+https://github.com/earendil-works/pi.git", "directory": "packages/coding-agent" }, "engines": { diff --git a/packages/tui/package.json b/packages/tui/package.json index e9a730ca..e14f4e4e 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -29,7 +29,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/earendil-works/pi-mono.git", + "url": "git+https://github.com/earendil-works/pi.git", "directory": "packages/tui" }, "engines": {