mbox-extractor 0.1.4__tar.gz → 0.1.5__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.5}/.github/workflows/release.yml +17 -17
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/PKG-INFO +1 -1
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/pyproject.toml +1 -1
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/.github/dependabot.yml +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/.gitignore +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/CLAUDE.md +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/LICENSE +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/README.md +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/logo.png +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/main.py +0 -0
- {mbox_extractor-0.1.4 → mbox_extractor-0.1.5}/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
|
|
@@ -24,26 +28,22 @@ jobs:
|
|
|
24
28
|
- name: Check if tag exists
|
|
25
29
|
id: check
|
|
26
30
|
run: |
|
|
27
|
-
if
|
|
31
|
+
if git tag -l "${{ steps.version.outputs.tag }}" | grep -q .; then
|
|
28
32
|
echo "exists=true" >> "$GITHUB_OUTPUT"
|
|
29
33
|
else
|
|
30
34
|
echo "exists=false" >> "$GITHUB_OUTPUT"
|
|
31
35
|
fi
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
- name: Setup uv
|
|
37
|
+
if: steps.check.outputs.exists == 'false'
|
|
38
|
+
uses: astral-sh/setup-uv@v4
|
|
39
|
+
- name: Build package
|
|
40
|
+
if: steps.check.outputs.exists == 'false'
|
|
41
|
+
run: uv build
|
|
34
42
|
- name: Create release
|
|
35
43
|
if: steps.check.outputs.exists == 'false'
|
|
36
|
-
run: gh release create "${{ steps.version.outputs.tag }}" --title "${{ steps.version.outputs.tag }}" --generate-notes
|
|
44
|
+
run: gh release create "${{ steps.version.outputs.tag }}" --title "${{ steps.version.outputs.tag }}" --generate-notes dist/*
|
|
37
45
|
env:
|
|
38
46
|
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
|
|
47
|
+
- name: Publish to PyPI
|
|
48
|
+
if: steps.check.outputs.exists == 'false'
|
|
49
|
+
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.5
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|