mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 03:58:32 +02:00
escape strings in workflow
This commit is contained in:
parent
a79a3cb723
commit
4607d41ebc
1 changed files with 6 additions and 7 deletions
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
|
@ -82,15 +82,14 @@ jobs:
|
||||||
poetry version "$JRNL_VERSION"
|
poetry version "$JRNL_VERSION"
|
||||||
{
|
{
|
||||||
echo "# This file is managed automatically by the GitHub release flow"
|
echo "# This file is managed automatically by the GitHub release flow"
|
||||||
echo ""
|
echo
|
||||||
echo "import sys"
|
echo "import sys"
|
||||||
echo ""
|
echo
|
||||||
echo "__version__ = \"$JRNL_VERSION\""
|
echo "__version__ = \"$JRNL_VERSION\""
|
||||||
echo ""
|
echo
|
||||||
echo "# this makes the version available at `jrnl.__version__` without requiring a"
|
echo '# this makes the version available at `jrnl.__version__` without requiring a'
|
||||||
echo "# `__init__.py` file in the *jrnl* root directory!"
|
echo '# `__init__.py` file in the *jrnl* root directory!'
|
||||||
echo "sys.modules[\"jrnl.__version__\"] = __version__"
|
echo 'sys.modules["jrnl.__version__"] = __version__'
|
||||||
echo ""
|
|
||||||
} > jrnl/__version__.py
|
} > jrnl/__version__.py
|
||||||
|
|
||||||
- name: Commit updated files
|
- name: Commit updated files
|
||||||
|
|
Loading…
Add table
Reference in a new issue