stackure 1.0.0__tar.gz → 1.20260417.3__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.
- {stackure-1.0.0 → stackure-1.20260417.3}/.github/workflows/release.yml +12 -35
- {stackure-1.0.0 → stackure-1.20260417.3}/PKG-INFO +1 -1
- {stackure-1.0.0 → stackure-1.20260417.3}/pyproject.toml +1 -1
- {stackure-1.0.0 → stackure-1.20260417.3}/.github/dependabot.yml +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/.github/workflows/check-build.yml +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/.gitignore +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/LICENSE +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/README.md +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/__init__.py +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/client.py +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/errors.py +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/middleware.py +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/py.typed +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/types.py +0 -0
- {stackure-1.0.0 → stackure-1.20260417.3}/stackure/validation.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name: Release
|
|
1
|
+
name: Release (date-based auto)
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -14,45 +14,22 @@ concurrency:
|
|
|
14
14
|
cancel-in-progress: false
|
|
15
15
|
|
|
16
16
|
jobs:
|
|
17
|
-
|
|
17
|
+
release:
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
tag: ${{ steps.v.outputs.tag }}
|
|
19
|
+
environment:
|
|
20
|
+
name: pypi
|
|
21
|
+
url: https://pypi.org/project/stackure
|
|
23
22
|
steps:
|
|
24
23
|
- uses: actions/checkout@v6
|
|
25
|
-
|
|
26
|
-
fetch-depth: 0
|
|
27
|
-
- name: Read version
|
|
24
|
+
- name: Compute date-based version
|
|
28
25
|
id: v
|
|
29
26
|
run: |
|
|
30
|
-
version
|
|
27
|
+
version="1.$(date -u +%Y%m%d).${GITHUB_RUN_NUMBER}"
|
|
31
28
|
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
32
29
|
echo "tag=v$version" >> "$GITHUB_OUTPUT"
|
|
33
|
-
- name:
|
|
34
|
-
id: gate
|
|
30
|
+
- name: Set version in pyproject.toml
|
|
35
31
|
run: |
|
|
36
|
-
|
|
37
|
-
echo "Tag ${{ steps.v.outputs.tag }} already exists. Skipping."
|
|
38
|
-
echo "skip=true" >> "$GITHUB_OUTPUT"
|
|
39
|
-
else
|
|
40
|
-
echo "skip=false" >> "$GITHUB_OUTPUT"
|
|
41
|
-
fi
|
|
42
|
-
|
|
43
|
-
release:
|
|
44
|
-
needs: check
|
|
45
|
-
if: needs.check.outputs.skip == 'false'
|
|
46
|
-
runs-on: ubuntu-latest
|
|
47
|
-
environment:
|
|
48
|
-
name: pypi
|
|
49
|
-
url: https://pypi.org/project/stackure
|
|
50
|
-
permissions:
|
|
51
|
-
contents: write
|
|
52
|
-
id-token: write
|
|
53
|
-
attestations: write
|
|
54
|
-
steps:
|
|
55
|
-
- uses: actions/checkout@v6
|
|
32
|
+
sed -i -E "s/^version = \"[^\"]*\"/version = \"${{ steps.v.outputs.version }}\"/" pyproject.toml
|
|
56
33
|
- uses: actions/setup-python@v6
|
|
57
34
|
with:
|
|
58
35
|
python-version: "3.x"
|
|
@@ -68,11 +45,11 @@ jobs:
|
|
|
68
45
|
run: |
|
|
69
46
|
git config user.name "github-actions[bot]"
|
|
70
47
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
71
|
-
git tag "${{
|
|
72
|
-
git push origin "${{
|
|
48
|
+
git tag "${{ steps.v.outputs.tag }}"
|
|
49
|
+
git push origin "${{ steps.v.outputs.tag }}"
|
|
73
50
|
- name: GitHub Release
|
|
74
51
|
uses: softprops/action-gh-release@v3
|
|
75
52
|
with:
|
|
76
|
-
tag_name: ${{
|
|
53
|
+
tag_name: ${{ steps.v.outputs.tag }}
|
|
77
54
|
files: dist/*
|
|
78
55
|
generate_release_notes: true
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|