Skip to content

Commit cb01535

Browse files
authored
Preparation of 0.5.0 alpha version (#1966)
1 parent c4af0a4 commit cb01535

File tree

5 files changed

+27
-25
lines changed

5 files changed

+27
-25
lines changed

.github/workflows/python-publish.yml

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
name: Upload Python Package
1+
name: Upload Python Package to PyPI when a Release is Created
22

33
on:
44
release:
55
types: [created]
66

77
jobs:
8-
deploy:
9-
8+
pypi-publish:
9+
name: Publish release to PyPI
1010
runs-on: ubuntu-latest
11-
11+
environment:
12+
name: pypi
13+
url: https://pypi.org/p/maigret
14+
permissions:
15+
id-token: write
1216
steps:
13-
- uses: actions/checkout@v2
14-
- name: Set up Python
15-
uses: actions/setup-python@v2
16-
with:
17-
python-version: '3.x'
18-
- name: Install dependencies
19-
run: |
20-
python -m pip install --upgrade pip
21-
pip install setuptools wheel twine
22-
- name: Build and publish
23-
env:
24-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
25-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26-
run: |
27-
python setup.py sdist bdist_wheel
28-
twine upload dist/*
17+
- uses: actions/checkout@v4
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.x"
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install setuptools wheel
26+
- name: Build package
27+
run: |
28+
python setup.py sdist bdist_wheel # Could also be python -m build
29+
- name: Publish package distributions to PyPI
30+
uses: pypa/gh-action-pypi-publish@release/v1

docs/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
copyright = '2024, soxoj'
77
author = 'soxoj'
88

9-
release = '0.4.4'
10-
version = '0.4.4'
9+
release = '0.5.0a1'
10+
version = '0.5'
1111

1212
# -- General configuration
1313

maigret/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Maigret version file"""
22

3-
__version__ = '0.4.4'
3+
__version__ = '0.5.0a1'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "maigret"
7-
version = "0.4.4"
7+
version = "0.5.0a1"
88
description = "🕵️‍♂️ Collect a dossier on a person by username from thousands of sites."
99
authors = ["Soxoj <[email protected]>"]
1010
readme = "README.md"

snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: |
77
88
Currently supported more than 3000 sites, search is launched against 500 popular sites in descending order of popularity by default. Also supported checking of Tor sites, I2P sites, and domains (via DNS resolving).
99
10-
version: 0.4.4
10+
version: 0.5.0a1
1111
license: MIT
1212
base: core22
1313
confinement: strict

0 commit comments

Comments
 (0)