diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 428afee..07f7eb6 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -89,30 +89,20 @@ jobs: permissions: write-all name: Release runs-on: ubuntu-latest - if: 'startsWith(github.ref, ''refs/tags/'')' + if: startsWith(github.ref, 'refs/tags/') needs: [linux, windows, macos] steps: - uses: actions/download-artifact@v4 with: merge-multiple: true - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' - with: - tag_name: '${{ github.ref }}' - release_name: 'Release ${{ github.ref }}' - draft: false - prerelease: false + - name: Upload Release Asset - id: upload-release-asset uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' - if: startsWith(github.ref, 'refs/tags/') with: + tag_name: ${{ github.ref_name }} files: '*.whl' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish: name: Publish runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 53e7094..988d8c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "_socha" -version = "4.0.0" +version = "4.0.1" edition = "2021" [lib] diff --git a/pyproject.toml b/pyproject.toml index a8c8ac9..015eedd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "socha" -version = "4.0.0" +version = "4.0.1" authors = [ { name = "yoente", email = "stu250140@mail.uni-kiel.de" }, { name = "maxblan", email = "stu222782@mail.uni-kiel.de" },