From 1eb5c5026fdd4b3f0eac40246c8f0ba0ebbdc947 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 16 Jul 2021 19:21:11 +0800 Subject: [PATCH] Release v0.2 --- .github/workflows/publish_to_pypi.yml | 18 ++++++++++++------ CMakeLists.txt | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index 38ddc21..8527eb5 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -83,9 +83,15 @@ jobs: python3 setup.py bdist_wheel --python-tag=py${tag} ls -lh dist/ - # - name: Publish wheels to PyPI - # env: - # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - # run: | - # twine upload dist/kaldifeat-*.whl + - name: Publish wheels to PyPI + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + twine upload dist/kaldifeat-*.whl + + - name: Upload Wheel + uses: actions/upload-artifact@v2 + with: + name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-${{ matrix.os }} + path: dist/*.whl diff --git a/CMakeLists.txt b/CMakeLists.txt index daaab25..7ff965f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR) project(kaldifeat) -set(kaldifeat_VERSION "1.0") +set(kaldifeat_VERSION "0.2") set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")