Skip to content

Commit fb1769b

Browse files
committed
fix: package release as .gz
1 parent 3925793 commit fb1769b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
2828
- name: Package artifacts
2929
run: |
30-
TAG=${{ github.ref_name }}
31-
tar -czf observer-${{ matrix.goarch }}-$TAG.tar.gz observer-${{ matrix.goarch }}
30+
echo "Packaging artifacts for ${{ matrix.goarch }}-{{ github.ref_name }}"
31+
gzip -c observer-${{ matrix.goarch }} > observer-${{ matrix.goarch }}-{{ github.ref_name }}.gz
3232
3333
- name: Upload artifacts
3434
uses: actions/upload-artifact@v4
3535
with:
3636
name: observer-${{ matrix.goarch }}
37-
path: observer-${{ matrix.goarch }}-${{ github.ref_name }}.tar.gz
37+
path: observer-${{ matrix.goarch }}-${{ github.ref_name }}.gz
3838
release:
3939
runs-on: ubuntu-latest
4040
needs: build

0 commit comments

Comments
 (0)