Skip to content

Commit

Permalink
pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Mar 12, 2024
1 parent 42f1a50 commit d31fd3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 22 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
push:
tags:
- '[0-9].[0-9].[0-9]'
- '[0-9].[0-9].[0-9]-rc.[0-9]'

jobs:
deploy:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_GITHUB_DEDUPLIDOG }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_GITHUB_ORGAFOLD }}
Binary file added dist/deduplidog-0.6.0-py3-none-any.whl
Binary file not shown.
Binary file added dist/deduplidog-0.6.0.tar.gz
Binary file not shown.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "deduplidog"
version = "0.6.0"
description = "Deduplicate folders"
version = "0.6.1"
description = "Yet another file deduplicator"
authors = ["Edvard Rejthar <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://github.com/CZ-NIC/deduplidog"
readme = "README.md"

[tool.poetry.dependencies]
click = "~=8.1.7"
Expand Down

0 comments on commit d31fd3e

Please sign in to comment.