-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
14 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|