diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38f329b..91bf726 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,17 +16,9 @@ jobs: - uses: actions/checkout@v2 - name: Build wheels uses: pypa/cibuildwheel@v2.0.0 - - uses: actions/upload-artifact@v2 with: path: ./wheelhouse/*.whl - - name: Tag Version - id: set_tag - if: matrix.platform != 'windows-latest' - run: echo "FCL_VERSION=$(python -c \"exec(open('src/fcl/version.py','r').read());print(__version__)\")" >> $GITHUB_ENV - - name: Tag Version Windows - if: matrix.platform == 'windows-latest' - run: echo "FCL_VERSION=0.6.1" >> $GITHUB_ENV - uses: xresloader/upload-to-github-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -35,7 +27,7 @@ jobs: overwrite: true draft: false update_latest_release: true - tag_name: ${{ env.FCL_VERSION }} + tag_name: 0.6.1 upload_pypi: needs: [build_wheels] runs-on: ubuntu-latest