Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit ba0e86b

Browse files
authored
tweak binary names (#24)
1 parent 3cb6e7e commit ba0e86b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
- name: Compile
3333
working-directory: ./cmd
3434
run: |
35-
go build -o /tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }} .
35+
go build -o /tmp/gitoops-linux .
3636
3737
- name: Release
3838
uses: softprops/action-gh-release@v1
3939
with:
4040
tag_name: ${{ env.TAG }}
4141
files: |
42-
/tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }}
42+
/tmp/gitoops-linux
4343
LICENSE
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -70,14 +70,14 @@ jobs:
7070
- name: Compile
7171
working-directory: ./cmd
7272
run: |
73-
go build -o /tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }} .
73+
go build -o /tmp/gitoops-macos .
7474
7575
- name: Release
7676
uses: softprops/action-gh-release@v1
7777
with:
7878
tag_name: ${{ env.TAG }}
7979
files: |
80-
/tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }}
80+
/tmp/gitoops-macos
8181
LICENSE
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -108,14 +108,14 @@ jobs:
108108
- name: Compile
109109
working-directory: ./cmd
110110
run: |
111-
go build -o /tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }} .
111+
go build -o /tmp/gitoops-windows .
112112
113113
- name: Release
114114
uses: softprops/action-gh-release@v1
115115
with:
116116
tag_name: ${{ env.TAG }}
117117
files: |
118-
/tmp/gitoops-${{ env.GOOS }}-${{ env.GOARCH }}
118+
/tmp/gitoops-windows
119119
LICENSE
120120
env:
121121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)