Skip to content

Commit 80e8dd4

Browse files
committed
Fix name issue
1 parent dd0b3bb commit 80e8dd4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/UpdateHomebrew.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,17 @@ jobs:
3737
- name: Bottle binary
3838
run: brew bottle --root-url="https://github.com/vetlewi/XIA2tree/releases/download/${{ github.ref_name }}" --no-rebuild xia2tree
3939

40+
- name: Rename bottle file
41+
run: |
42+
for f in xia2tree--*.bottle.tar.gz; do
43+
new_name=$(echo "$f" | sed 's/--/-/')
44+
mv "$f" "$new_name"
45+
done
46+
4047
- name: Upload bottle to release
4148
uses: softprops/action-gh-release@v1
4249
with:
43-
files: ./xia2tree--*.tar.gz
50+
files: ./xia2tree-*.tar.gz
4451
env:
4552
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
4653

0 commit comments

Comments
 (0)