Skip to content

Commit

Permalink
chg: [RELEASE] Bumped version number and aligned pyproject.toml file …
Browse files Browse the repository at this point in the history
…with standard specification.
  • Loading branch information
cedricbonhomme committed Feb 13, 2025
1 parent 7849955 commit 2e8b0fd
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 147 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install poetry
poetry install
poetry install --with dev
- name: Lint with flake8
run: |
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
release:
types:
- published

name: release

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/Stegano

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Poetry
run: python -m pip install --upgrade pip poetry
- name: Build artifacts
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading

0 comments on commit 2e8b0fd

Please sign in to comment.