Skip to content

Commit e7565e1

Browse files
timvwclaude
andcommitted
fix: use single dash in Homebrew bottle filenames
Change bottle naming from wt--VERSION to wt-VERSION to match Homebrew's expected URL pattern when using root_url. Homebrew constructs URLs as: <root_url>/<formula>-<version>.<platform>.bottle.tar.gz Previous: wt--0.1.2.arm64_sonoma.bottle.tar.gz Current: wt-0.1.2.arm64_sonoma.bottle.tar.gz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9e17336 commit e7565e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
mkdir -p wt/${{ steps.version.outputs.VERSION }}/bin
6969
cp dist/wt wt/${{ steps.version.outputs.VERSION }}/bin/
7070
71-
# Create tarball with proper naming: wt--VERSION.PLATFORM.bottle.tar.gz
72-
tar czf wt--${{ steps.version.outputs.VERSION }}.${{ matrix.bottle }}.bottle.tar.gz wt
71+
# Create tarball with proper naming: wt-VERSION.PLATFORM.bottle.tar.gz
72+
tar czf wt-${{ steps.version.outputs.VERSION }}.${{ matrix.bottle }}.bottle.tar.gz wt
7373
7474
# Also keep the raw binary for non-Homebrew users
7575
mv dist/wt dist/${{ matrix.output }}
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/upload-artifact@v4
7979
with:
8080
name: bottle-${{ matrix.bottle }}
81-
path: wt--${{ steps.version.outputs.VERSION }}.${{ matrix.bottle }}.bottle.tar.gz
81+
path: wt-${{ steps.version.outputs.VERSION }}.${{ matrix.bottle }}.bottle.tar.gz
8282
if-no-files-found: error
8383

8484
- name: Upload binary artifact

0 commit comments

Comments
 (0)