diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e96aea0..c4b9961 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -114,9 +114,9 @@ jobs: mold -run cargo deb -- --no-default-features --features="package" if [ "${RUSTC_HOST_ARCH}" == "x86_64-unknown-linux-gnu" ]; then - gh release upload "$VERSION" ./target/debian/amdgpu-top_${{ env.PKG_VER }}-1_amd64.deb + gh release upload --clobber "$VERSION" ./target/debian/amdgpu-top_${{ env.PKG_VER }}-1_amd64.deb else - gh release upload "$VERSION" ./target/debian/amdgpu-top_${{ env.PKG_VER }}-1_arm64.deb + gh release upload --clobber "$VERSION" ./target/debian/amdgpu-top_${{ env.PKG_VER }}-1_arm64.deb fi - name: Build RPM Pakcage shell: bash @@ -140,10 +140,10 @@ jobs: if [ "${RUSTC_HOST_ARCH}" == "x86_64-unknown-linux-gnu" ]; then cp ./target/appimage/amdgpu_top.AppImage amdgpu_top-x86_64.AppImage - gh release upload "$VERSION" amdgpu_top-x86_64.AppImage + gh release upload --clobber "$VERSION" amdgpu_top-x86_64.AppImage else cp ./target/appimage/amdgpu_top.AppImage amdgpu_top-aarch64.AppImage - gh release upload "$VERSION" amdgpu_top-aarch64.AppImage + gh release upload --clobber "$VERSION" amdgpu_top-aarch64.AppImage fi - name: Build Deb Package without GUI shell: bash @@ -154,8 +154,8 @@ jobs: if [ "${RUSTC_HOST_ARCH}" == "x86_64-unknown-linux-gnu" ]; then mv ./target/debian/amdgpu-top{,_without_gui}_${{ env.PKG_VER }}-1_amd64.deb - gh release upload "$VERSION" ./target/debian/amdgpu-top_without_gui_${{ env.PKG_VER }}-1_amd64.deb + gh release upload --clobber "$VERSION" ./target/debian/amdgpu-top_without_gui_${{ env.PKG_VER }}-1_amd64.deb else mv ./target/debian/amdgpu-top{,_without_gui}_${{ env.PKG_VER }}-1_arm64.deb - gh release upload "$VERSION" ./target/debian/amdgpu-top_without_gui_${{ env.PKG_VER }}-1_arm64.deb + gh release upload --clobber "$VERSION" ./target/debian/amdgpu-top_without_gui_${{ env.PKG_VER }}-1_arm64.deb fi