From 141ebde2191f510071a0e85a2548a62c3c98da5b Mon Sep 17 00:00:00 2001 From: Tadeu Granemann Date: Mon, 23 Nov 2020 21:17:20 -0300 Subject: [PATCH] prepare for tagging --- .github/workflows/publish.yaml | 11 +---------- .github/workflows/{build.yaml => test.yaml} | 2 +- README.md | 2 +- dugaire/info.py | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) rename .github/workflows/{build.yaml => test.yaml} (98%) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1d9bdf7..32ab6d6 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -40,16 +40,7 @@ jobs: - name: Build run: | python setup.py sdist bdist_wheel - - name: Publish (testpypi) - if: endsWith(github.ref, '-rc') - env: - TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} - TWINE_REPOSITORY_URL: "https://test.pypi.org/legacy/" - run: | - twine upload dist/* - - name: Publish (pypi) - if: "!endsWith(github.ref, '-rc')" + - name: Publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} diff --git a/.github/workflows/build.yaml b/.github/workflows/test.yaml similarity index 98% rename from .github/workflows/build.yaml rename to .github/workflows/test.yaml index 10379c4..bf6e534 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: build +name: test on: [push] diff --git a/README.md b/README.md index 2455559..ddd4603 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![PyPI](https://img.shields.io/badge/pypi-latest-blue)](https://pypi.org/project/dugaire/) [![Python](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-blue)](https://pypi.org/project/dugaire/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) -[![Build](https://github.com/tadeugr/dugaire/workflows/build/badge.svg)](https://github.com/tadeugr/dugaire/workflows/build/badge.svg) +[![Test](https://github.com/tadeugr/dugaire/workflows/test/badge.svg)](https://github.com/tadeugr/dugaire/workflows/build/badge.svg) [![codecov](https://codecov.io/gh/tadeugr/dugaire/branch/develop/graph/badge.svg?token=Q6OURIL1ZK)](https://codecov.io/gh/tadeugr/dugaire) [![Documentation Status](https://readthedocs.org/projects/dugaire/badge/?version=latest)](https://dugaire.readthedocs.io/en/latest/?badge=latest) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ftadeugr%2Fdugaire.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Ftadeugr%2Fdugaire?ref=badge_shield) diff --git a/dugaire/info.py b/dugaire/info.py index 947b94e..d2f1f06 100644 --- a/dugaire/info.py +++ b/dugaire/info.py @@ -1,5 +1,5 @@ def get_version(): - return "0.0.12" + return "0.0.10" def get_prog_name():