Skip to content

Commit

Permalink
ops(release): add release dev job
Browse files Browse the repository at this point in the history
  • Loading branch information
jannismain committed Sep 18, 2023
1 parent 8c7d506 commit 7fec48b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ lint = "ruff --config=pyproject.toml src tests"
test = "pytest"
coverage = "pytest --cov=src/pyjapi --cov-config=pyproject.toml --cov-branch --cov-report term --cov-report html:build/coverage --junitxml=report.xml"
libjapi-demo = "ext/libjapi-demo/build/demo-static 1234"
release = """\
hatch run dev:test
git tag -m 'bump version to '`hatch version` v`hatch version` --sign
git push --tags
hatch build --clean
hatch publish
gh release create v`hatch version` \
--title `hatch version` \
--notes '*[see changes](https://github.com/Fraunhofer-IIS/pyjapi/blob/main/CHANGELOG.md#v'`hatch version | tr -d .`')*'
gh release upload v`hatch version` dist/*.tar.gz dist/*.whl
"""

[tool.ruff]
extend-select = ["I", "D", "UP", "PIE790", "C90", "N", "B"]
Expand Down

0 comments on commit 7fec48b

Please sign in to comment.