Skip to content

Commit

Permalink
Fix publishing (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadejsv authored Sep 29, 2022
1 parent 879a161 commit 18330db
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: env.yaml
- name: Install package with requirements
run: poetry install --no-dev
- name: Build and publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish --build
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
run: hatch build && hatch publish
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.1.6] - 2022-09-29

## Changed

* Fix publishing with `hatch` ([#21](https://github.com/tadejsv/EvalDeT/pull/21))

## [0.1.5] - 2022-09-29

## Changed
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ docs = [
"sphinx-autodoc-typehints~=1.19.1",
]

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.vscode",
"/docs",
"/tests"
]

[tool.isort]
profile = "black"

Expand Down
2 changes: 1 addition & 1 deletion src/evaldet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.5"
__version__ = "0.1.6"

from .metrics import MOTMetrics # noqa: F401
from .tracks import Tracks # noqa: F401

0 comments on commit 18330db

Please sign in to comment.