mbox-extractor 0.1.19__tar.gz → 0.1.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/.github/workflows/release.yml +8 -19
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/PKG-INFO +1 -1
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/pyproject.toml +1 -1
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/.github/dependabot.yml +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/.gitignore +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/.pre-commit-config.yaml +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/CLAUDE.md +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/LICENSE +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/README.md +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/logo.png +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/main.py +0 -0
- {mbox_extractor-0.1.19 → mbox_extractor-0.1.20}/uv.lock +0 -0
|
@@ -34,33 +34,22 @@ jobs:
|
|
|
34
34
|
- uses: actions/checkout@v4
|
|
35
35
|
with:
|
|
36
36
|
fetch-depth: 0
|
|
37
|
-
- name:
|
|
38
|
-
id: version
|
|
39
|
-
|
|
40
|
-
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
|
|
41
|
-
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
42
|
-
echo "tag=v$VERSION" >> "$GITHUB_OUTPUT"
|
|
43
|
-
- name: Check if tag exists
|
|
44
|
-
id: check-tag
|
|
45
|
-
run: |
|
|
46
|
-
if git rev-parse "refs/tags/${{ steps.version.outputs.tag }}" >/dev/null 2>&1; then
|
|
47
|
-
echo "exists=true" >> "$GITHUB_OUTPUT"
|
|
48
|
-
else
|
|
49
|
-
echo "exists=false" >> "$GITHUB_OUTPUT"
|
|
50
|
-
fi
|
|
37
|
+
- name: Check version
|
|
38
|
+
id: check-version
|
|
39
|
+
uses: tsilva/.github/.github/actions/check-version@main
|
|
51
40
|
- name: Setup uv
|
|
52
|
-
if: steps.check-
|
|
41
|
+
if: steps.check-version.outputs.tag_exists == 'false'
|
|
53
42
|
uses: astral-sh/setup-uv@v4
|
|
54
43
|
with:
|
|
55
44
|
cache: true
|
|
56
45
|
- name: Build package
|
|
57
|
-
if: steps.check-
|
|
46
|
+
if: steps.check-version.outputs.tag_exists == 'false'
|
|
58
47
|
run: uv build
|
|
59
48
|
- name: Create release
|
|
60
|
-
if: steps.check-
|
|
61
|
-
run: gh release create "${{ steps.version.outputs.tag }}" --title "${{ steps.version.outputs.tag }}" --generate-notes dist/*
|
|
49
|
+
if: steps.check-version.outputs.tag_exists == 'false'
|
|
50
|
+
run: gh release create "${{ steps.check-version.outputs.tag }}" --title "${{ steps.check-version.outputs.tag }}" --generate-notes dist/*
|
|
62
51
|
env:
|
|
63
52
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
64
53
|
- name: Publish to PyPI
|
|
65
|
-
if: steps.check-
|
|
54
|
+
if: steps.check-version.outputs.tag_exists == 'false'
|
|
66
55
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mbox-extractor
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.20
|
|
4
4
|
Summary: 📬 Recursively extract all attachments from .mbox email archives with a single command
|
|
5
5
|
Project-URL: Homepage, https://github.com/tsilva/mbox-extractor
|
|
6
6
|
Project-URL: Repository, https://github.com/tsilva/mbox-extractor
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mbox-extractor"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.20"
|
|
8
8
|
description = "📬 Recursively extract all attachments from .mbox email archives with a single command"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|