From 193d4c1ac0e39eccb33bf6f533de130b4cfa4296 Mon Sep 17 00:00:00 2001 From: Lyubov Date: Thu, 22 Apr 2021 17:38:58 +0300 Subject: [PATCH 1/2] - release on GHR fixed --- .github/workflows/wheels.yml | 25 ++----------------------- README.md | 3 +++ 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1b2ad60b..64966824 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -103,29 +103,8 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v2 - - name: Create Draft Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: softprops/action-gh-release@v1 with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: false - - - name: Export release assets - id: path - run: | - whl=$(find artifact/ -name '*.whl' -exec basename {} \;) - echo "::set-output name=WHL::$whl" - - - uses: actions/upload-release-asset@v1.0.1 + files: artifact/*.whl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifact/${{ steps.path.outputs.WHL }} - asset_name: ${{ steps.path.outputs.WHL }} - asset_content_type: application/octet-stream - diff --git a/README.md b/README.md index ddcc0a20..5b43ec89 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![PyPi version](https://pypip.in/v/mrob/badge.png)](https://pypi.org/project/mrob/) +[![PyPi downloads](https://pypip.in/dm/mrob/badge.png)](https://pypi.org/project/mrob/) +

From 092e04453943074de0426098980c9683e250e109 Mon Sep 17 00:00:00 2001 From: Lyubov Date: Thu, 22 Apr 2021 17:58:13 +0300 Subject: [PATCH 2/2] - updates in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b43ec89..2234803c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![PyPi version](https://pypip.in/v/mrob/badge.png)](https://pypi.org/project/mrob/) -[![PyPi downloads](https://pypip.in/dm/mrob/badge.png)](https://pypi.org/project/mrob/) +[![PyPi version](https://img.shields.io/pypi/v/mrob.svg)](https://pypi.org/project/mrob/) +[![PyPi downloads](https://img.shields.io/pypi/dm/mrob.svg)](https://pypi.org/project/mrob/)