Skip to content

Commit d32a3b9

Browse files
committed
Fixed CD script
1 parent 3409288 commit d32a3b9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Build
2525
run: |
2626
env GOOS=linux GOARCH=amd64 go build
27-
gzip --keep bricks
28-
mv bricks.gz bricks-linux-x64.gz
27+
gzip --keep bricks-cli
28+
mv bricks-cli.gz bricks-cli-linux-x64.gz
2929
env GOOS=windows GOARCH=amd64 go build
30-
zip bricks-windows-x64.zip bricks.exe
30+
zip bricks-cli-windows-x64.zip bricks-cli.exe
3131
3232
- name: Version
3333
run: |
@@ -52,8 +52,8 @@ jobs:
5252
GITHUB_TOKEN: ${{ github.token }}
5353
with:
5454
upload_url: ${{ steps.create_release.outputs.upload_url }}
55-
asset_path: ./bricks-linux-x64.gz
56-
asset_name: bricks-linux-x64.gz
55+
asset_path: ./bricks-cli-linux-x64.gz
56+
asset_name: bricks-cli-linux-x64.gz
5757
asset_content_type: application/x-executable
5858

5959
- name: Upload Windows executable
@@ -62,6 +62,6 @@ jobs:
6262
GITHUB_TOKEN: ${{ github.token }}
6363
with:
6464
upload_url: ${{ steps.create_release.outputs.upload_url }}
65-
asset_path: ./bricks-windows-x64.zip
66-
asset_name: bricks-windows-x64.zip
65+
asset_path: ./bricks-cli-windows-x64.zip
66+
asset_name: bricks-cli-windows-x64.zip
6767
asset_content_type: application/octet-stream; version="64 bit"

0 commit comments

Comments
 (0)