Skip to content

Commit 3071759

Browse files
committed
rename binary in publish
1 parent 5a6078c commit 3071759

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ jobs:
5656

5757
- name: Strip binary
5858
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-latest'
59-
run: strip target/${{ matrix.target }}/release/erdtree
59+
run: strip target/${{ matrix.target }}/release/et
6060

6161
- name: Upload binaries to release
6262
uses: svenstaro/upload-release-action@v1-release
6363
with:
6464
repo_token: ${{ secrets.GITHUB_TOKEN }}
65-
file: target/${{ matrix.target }}/release/erdtree
66-
asset_name: erdtree-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}
65+
file: target/${{ matrix.target }}/release/et
66+
asset_name: et-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}
6767
tag: ${{ github.ref }}
6868

6969
x86_64-pc-windows-msvc:
@@ -93,8 +93,8 @@ jobs:
9393
uses: svenstaro/upload-release-action@v1-release
9494
with:
9595
repo_token: ${{ secrets.GITHUB_TOKEN }}
96-
file: target/release/erdtree.exe
97-
asset_name: erdtree-x86_64-pc-windows-msvc.exe
96+
file: target/release/et.exe
97+
asset_name: et-x86_64-pc-windows-msvc.exe
9898
tag: ${{ github.ref }}
9999

100100

@@ -142,7 +142,7 @@ jobs:
142142
uses: svenstaro/upload-release-action@v1-release
143143
with:
144144
repo_token: ${{ secrets.GITHUB_TOKEN }}
145-
file: target/release/erdtree
146-
asset_name: erdtree-${{ steps.version.outputs.VERSION }}-aarch64-unknown-linux-gnu
145+
file: target/release/et
146+
asset_name: et-${{ steps.version.outputs.VERSION }}-aarch64-unknown-linux-gnu
147147
tag: ${{ github.ref }}
148148

0 commit comments

Comments
 (0)