|
@@ -22,9 +22,10 @@ jobs:
|
|
id: go
|
|
id: go
|
|
- name: Build
|
|
- name: Build
|
|
run: |
|
|
run: |
|
|
|
|
+ TAG=$(git describe --tags)
|
|
for i in linux-amd64 linux-arm64 linux-riscv64 linux-loong64; do
|
|
for i in linux-amd64 linux-arm64 linux-riscv64 linux-loong64; do
|
|
make ARCH=$i all
|
|
make ARCH=$i all
|
|
- tar -cz --numeric-owner --owner root --group root -f tunasync-$i-bin.tar.gz -C build-$i tunasync tunasynctl
|
|
|
|
|
|
+ tar -cz --numeric-owner --owner root --group root -f tunasync-${TAG}-$i-bin.tar.gz -C build-$i tunasync tunasynctl
|
|
done
|
|
done
|
|
- name: Create Release
|
|
- name: Create Release
|
|
uses: softprops/action-gh-release@v2
|
|
uses: softprops/action-gh-release@v2
|