diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24d0b3c..e330a4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,12 +58,12 @@ jobs: cp README.md artifact/ - name: Compress build artifact - run: tar -czf cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tar.gz -C artifact . + run: tar -czf cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tgz -C artifact . - name: Upload artifact uses: actions/upload-artifact@v4 with: - path: cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tar.gz + path: cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tgz publish_crate: needs: [build_linux] @@ -92,6 +92,6 @@ jobs: path: artifact merge-multiple: true - name: Create release - run: gh release create ${{ github.ref_name }} --draft --title "Release ${{ github.ref_name }}" --notes "" artifact/cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tar.gz + run: gh release create ${{ github.ref_name }} --draft --title "Release ${{ github.ref_name }}" --notes "" artifact/cardamon-x86_64-unknown-linux-gnu-${{ github.ref_name }}.tgz env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index a876915..48318db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cardamon" -version = "0.0.1" +version = "0.0.2" edition = "2021" authors = [ "Oliver Winks ", @@ -71,7 +71,7 @@ tracing-subscriber = { version = "0.3.18", features = [ [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.{ archive-format }" bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }" -pkg-fmt = "tar.gz" +pkg-fmt = "tgz" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] pkg-fmt = "zip"