Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanov committed May 28, 2024
1 parent 23ddd7b commit c141159
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment (if no poetry.toml file)
Expand All @@ -35,7 +34,6 @@ jobs:
run: poetry install --with docs
- name: Run pdoc
run: poetry run python -m pdoc --logo logo.svg --favicon favicon.ico -o docs/ pyftms

- uses: actions/upload-pages-artifact@v3
with:
path: docs/
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: pypi

on:
push:
branches:
- main
tags: ['v[0-9].[0-9]+.[0-9]+']
branches: [main]

# security: restrict permissions for CI jobs.
permissions:
Expand All @@ -12,14 +12,17 @@ permissions:
jobs:
pypi-publish:
name: Upload release to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pyftms
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install poetry
uses: abatilo/actions-poetry@v2

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyftms"
version = "0.1.0"
version = "0.1.1"
description = "PyFTMS - Python Fitness Machine Service client library."
authors = ["Sergey V. DUDANOV <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit c141159

Please sign in to comment.