@@ -43,12 +43,12 @@ jobs:
43
43
if : startsWith(github.ref, 'refs/tags/')
44
44
run : |
45
45
TAG_NAME=${GITHUB_REF#refs/tags/}
46
- cp bazel-bin/sparrow-cli-linux .tar.gz sparrow-cli-${TAG_NAME}-linux.tar.gz
46
+ cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${TAG_NAME}-linux.tar.gz
47
47
- name : Rename artifact with commit hash for push
48
48
if : ${{ !startsWith(github.ref, 'refs/tags/') }}
49
49
run : |
50
50
SHORT_COMMIT=$(echo ${{ github.sha }} | cut -c1-7)
51
- cp bazel-bin/sparrow-cli-linux .tar.gz sparrow-cli-${SHORT_COMMIT}-linux.tar.gz
51
+ cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${SHORT_COMMIT}-linux.tar.gz
52
52
- name : Upload sparrow-cli.tar.gz artifact
53
53
if : ${{ !startsWith(github.ref, 'refs/tags/') }}
54
54
uses : actions/upload-artifact@v4
@@ -82,12 +82,12 @@ jobs:
82
82
if : startsWith(github.ref, 'refs/tags/')
83
83
run : |
84
84
TAG_NAME=${GITHUB_REF#refs/tags/}
85
- cp bazel-bin/sparrow-cli-mac .tar.gz sparrow-cli-${TAG_NAME}-mac.tar.gz
85
+ cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${TAG_NAME}-mac.tar.gz
86
86
- name : Rename artifact with commit hash for push
87
87
if : ${{ !startsWith(github.ref, 'refs/tags/') }}
88
88
run : |
89
89
SHORT_COMMIT=$(echo ${{ github.sha }} | cut -c1-7)
90
- cp bazel-bin/sparrow-cli-mac .tar.gz sparrow-cli-${SHORT_COMMIT}-mac.tar.gz
90
+ cp bazel-bin/sparrow-cli.tar.gz sparrow-cli-${SHORT_COMMIT}-mac.tar.gz
91
91
- name : Upload sparrow-cli.tar.gz artifact
92
92
if : ${{ !startsWith(github.ref, 'refs/tags/') }}
93
93
uses : actions/upload-artifact@v4
0 commit comments