diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e69b52f7..39683e0b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,15 +82,14 @@ jobs: poetry version "$JRNL_VERSION" { echo "# This file is managed automatically by the GitHub release flow" - echo "" + echo echo "import sys" - echo "" + echo echo "__version__ = \"$JRNL_VERSION\"" - echo "" - echo "# this makes the version available at `jrnl.__version__` without requiring a" - echo "# `__init__.py` file in the *jrnl* root directory!" - echo "sys.modules[\"jrnl.__version__\"] = __version__" - echo "" + echo + echo '# this makes the version available at `jrnl.__version__` without requiring a' + echo '# `__init__.py` file in the *jrnl* root directory!' + echo 'sys.modules["jrnl.__version__"] = __version__' } > jrnl/__version__.py - name: Commit updated files