Skip to content

Commit 141817d

Browse files
⬆️ CI/CD: Updated
1 parent 5c9ee1f commit 141817d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/update-version/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
shell: bash
2626
run: |
2727
VERSION="${{ inputs.version }}"
28-
sed -i "s/^__version__ = \".*\"/__version__ = \"$VERSION\"/" mkdocs_simple_blog/__init__.py
28+
sed -i "s/^__version__ = \".*\"/__version__ = \"$VERSION\"/" mkdocs_dracula_theme/__init__.py
2929
3030
- name: 🔍 Verify changes
3131
shell: bash
@@ -37,4 +37,4 @@ runs:
3737
grep "^version = " pyproject.toml | head -2
3838
echo ""
3939
echo "=== __init__.py version ==="
40-
grep "^__version__ = " mkdocs_simple_blog/__init__.py
40+
grep "^__version__ = " mkdocs_dracula_theme/__init__.py

.github/workflows/python-publish-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
- name: 📝 Update __init__.py
6262
run: |
6363
VERSION="${{ steps.extract_version.outputs.version }}"
64-
sed -i "s/^__version__ = \".*\"/__version__ = \"$VERSION\"/" mkdocs_simple_blog/__init__.py
64+
sed -i "s/^__version__ = \".*\"/__version__ = \"$VERSION\"/" mkdocs_dracula_theme/__init__.py
6565
6666
- name: 💾 Commit and push
6767
run: |
6868
git config --local user.email "action@github.com"
6969
git config --local user.name "GitHub Action"
70-
git add LAST_VERSION pyproject.toml mkdocs_simple_blog/__init__.py
70+
git add LAST_VERSION pyproject.toml mkdocs_dracula_theme/__init__.py
7171
if git diff --staged --quiet; then
7272
echo "No changes to commit"
7373
else
@@ -115,7 +115,7 @@ jobs:
115115
echo "Expected version: $EXPECTED"
116116
echo "LAST_VERSION: $(cat LAST_VERSION)"
117117
echo "pyproject.toml: $(grep '^version = ' pyproject.toml | head -1)"
118-
echo "__init__.py: $(grep '^__version__ = ' mkdocs_simple_blog/__init__.py)"
118+
echo "__init__.py: $(grep '^__version__ = ' mkdocs_dracula_theme/__init__.py)"
119119
120120
if [ "$(cat LAST_VERSION)" != "$EXPECTED" ]; then
121121
echo "ERROR: Version mismatch!"

0 commit comments

Comments
 (0)