File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff 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!"
You can’t perform that action at this time.
0 commit comments