From 721bc98f7ab309aec7f3d2480502158e986539b3 Mon Sep 17 00:00:00 2001 From: Inga Ulusoy Date: Mon, 15 Jan 2024 11:59:18 +0100 Subject: [PATCH] increment version number (#168) * increment version number increment version number for automated release with new dependency ammico-lavis * only upload to testpypi for new release tag * change codecov token transmission method --- .github/workflows/ci.yml | 5 +++-- .github/workflows/release.yml | 1 + pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9119718..5621a22e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,8 +71,9 @@ jobs: - name: Upload coverage if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - fail_ci_if_error: true + fail_ci_if_error: false files: ammico/coverage.xml verbose: true - token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52628bd2..2ff1b4e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,6 +95,7 @@ jobs: publish-to-testpypi: name: Publish Python distribution to TestPyPI + if: startsWith(github.ref, 'refs/tags/') needs: - build runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index b624220c..e1a078a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "ammico" -version = "0.2.0" +version = "0.2.1" description = "AI Media and Misinformation Content Analysis Tool" readme = "README.md" maintainers = [