Skip to content

Commit 958e962

Browse files
committed
homebrew action needs unique/versioned tarball names
1 parent 2ec91d2 commit 958e962

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v1
1818
- name: Package
19-
run: tar -cvzf archive-fusionvm.tar.gz archive_vms.zsh
19+
run: tar -cvzf archive-fusionvm-${{ steps.get_version.outputs.VERSION }}.tar.gz archive_vms.zsh
2020
- name: GitHub Release
2121
uses: softprops/action-gh-release@v1
2222
with:
2323
# Comma-delimited list of path globs for asset files to upload
24-
files: archive-fusionvm.tar.gz
24+
files: archive-fusionvm-${{ steps.get_version.outputs.VERSION }}.tar.gz
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
- name: Bump Homebrew formula
@@ -30,6 +30,6 @@ jobs:
3030
with:
3131
formula-name: archive-fusionvm
3232
homebrew-tap: nreilingh/homebrew-nreilingh
33-
download-url: https://github.com/NReilingh/archive-fusionvm/releases/download/${{ steps.get_version.outputs.VERSION }}/archive-fusionvm.tar.gz
33+
download-url: https://github.com/NReilingh/archive-fusionvm/releases/download/${{ steps.get_version.outputs.VERSION }}/archive-fusionvm-${{ steps.get_version.outputs.VERSION }}.tar.gz
3434
env:
3535
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 commit comments

Comments
 (0)