mbox-extractor 0.1.4__tar.gz → 0.1.6__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.4 → mbox_extractor-0.1.6}/.github/workflows/release.yml +23 -17
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/PKG-INFO +2 -2
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/README.md +1 -1
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/pyproject.toml +1 -1
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/.github/dependabot.yml +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/.gitignore +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/CLAUDE.md +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/LICENSE +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/logo.png +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/main.py +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.6}/uv.lock +0 -0
|
@@ -3,6 +3,11 @@ name: Release
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches: [main]
|
|
6
|
+
paths: [pyproject.toml]
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: release
|
|
10
|
+
cancel-in-progress: false
|
|
6
11
|
|
|
7
12
|
permissions:
|
|
8
13
|
contents: write
|
|
@@ -11,8 +16,7 @@ permissions:
|
|
|
11
16
|
jobs:
|
|
12
17
|
release:
|
|
13
18
|
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
|
-
created: ${{ steps.check.outputs.exists == 'false' }}
|
|
19
|
+
environment: pypi
|
|
16
20
|
steps:
|
|
17
21
|
- uses: actions/checkout@v4
|
|
18
22
|
- name: Get version
|
|
@@ -21,29 +25,31 @@ jobs:
|
|
|
21
25
|
VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")
|
|
22
26
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
23
27
|
echo "tag=v$VERSION" >> "$GITHUB_OUTPUT"
|
|
28
|
+
- name: Update repo description
|
|
29
|
+
run: |
|
|
30
|
+
DESC=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['description'])")
|
|
31
|
+
gh repo edit --description "$DESC"
|
|
32
|
+
env:
|
|
33
|
+
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
24
34
|
- name: Check if tag exists
|
|
25
35
|
id: check
|
|
26
36
|
run: |
|
|
27
|
-
if
|
|
37
|
+
if git tag -l "${{ steps.version.outputs.tag }}" | grep -q .; then
|
|
28
38
|
echo "exists=true" >> "$GITHUB_OUTPUT"
|
|
29
39
|
else
|
|
30
40
|
echo "exists=false" >> "$GITHUB_OUTPUT"
|
|
31
41
|
fi
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
- name: Setup uv
|
|
43
|
+
if: steps.check.outputs.exists == 'false'
|
|
44
|
+
uses: astral-sh/setup-uv@v4
|
|
45
|
+
- name: Build package
|
|
46
|
+
if: steps.check.outputs.exists == 'false'
|
|
47
|
+
run: uv build
|
|
34
48
|
- name: Create release
|
|
35
49
|
if: steps.check.outputs.exists == 'false'
|
|
36
|
-
run: gh release create "${{ steps.version.outputs.tag }}" --title "${{ steps.version.outputs.tag }}" --generate-notes
|
|
50
|
+
run: gh release create "${{ steps.version.outputs.tag }}" --title "${{ steps.version.outputs.tag }}" --generate-notes dist/*
|
|
37
51
|
env:
|
|
38
52
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if: needs.release.outputs.created == 'true'
|
|
43
|
-
runs-on: ubuntu-latest
|
|
44
|
-
environment: pypi
|
|
45
|
-
steps:
|
|
46
|
-
- uses: actions/checkout@v4
|
|
47
|
-
- uses: astral-sh/setup-uv@v4
|
|
48
|
-
- run: uv build
|
|
49
|
-
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
53
|
+
- name: Publish to PyPI
|
|
54
|
+
if: steps.check.outputs.exists == 'false'
|
|
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.6
|
|
4
4
|
Summary: Recursively extract attachments from .mbox files
|
|
5
5
|
Project-URL: Homepage, https://github.com/tsilva/mbox-extractor
|
|
6
6
|
Project-URL: Repository, https://github.com/tsilva/mbox-extractor
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
[](LICENSE)
|
|
24
24
|
[](https://python.org)
|
|
25
25
|
|
|
26
|
-
**📬 Recursively extract all attachments from .mbox email archives with a single command**
|
|
26
|
+
**📬 Recursively extract all attachments from .mbox email archives with a single command test123**
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
29
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
[](https://python.org)
|
|
8
8
|
|
|
9
|
-
**📬 Recursively extract all attachments from .mbox email archives with a single command**
|
|
9
|
+
**📬 Recursively extract all attachments from .mbox email archives with a single command test123**
|
|
10
10
|
|
|
11
11
|
</div>
|
|
12
12
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|