* 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
Этот коммит содержится в:
Inga Ulusoy 2024-01-15 11:59:18 +01:00 коммит произвёл GitHub
родитель 899194efd6
Коммит 721bc98f7a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 5 добавлений и 3 удалений

5
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -71,8 +71,9 @@ jobs:
- name: Upload coverage - name: Upload coverage
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9'
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with: with:
fail_ci_if_error: true fail_ci_if_error: false
files: ammico/coverage.xml files: ammico/coverage.xml
verbose: true verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

1
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -95,6 +95,7 @@ jobs:
publish-to-testpypi: publish-to-testpypi:
name: Publish Python distribution to TestPyPI name: Publish Python distribution to TestPyPI
if: startsWith(github.ref, 'refs/tags/')
needs: needs:
- build - build
runs-on: ubuntu-latest runs-on: ubuntu-latest

Просмотреть файл

@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "ammico" name = "ammico"
version = "0.2.0" version = "0.2.1"
description = "AI Media and Misinformation Content Analysis Tool" description = "AI Media and Misinformation Content Analysis Tool"
readme = "README.md" readme = "README.md"
maintainers = [ maintainers = [