Skip to content

Commit 2b57ae0

Browse files
committed
fix version bump command and linting
1 parent be8f6b0 commit 2b57ae0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
new_tag=$(echo "$latest_tag" | awk -F. -v a="$1" -v b="$2" -v c="$3" '{printf("%d.%d.%d", $1+a, $2+b , $3+1)}')
108108
echo "new tag: $new_tag"
109109
110-
printf "# pylint: disable=missing-module-docstring\n__version__ = '%s'""" "$new_tag" > $version_file
110+
printf "# pylint: disable=missing-module-docstring\n__version__ = \"%s\"\n""" "$new_tag" > $version_file
111111
112112
git commit -m "Bump to ${new_tag}" $version_file || echo "No changes to commit"
113113
git push origin

policy_sentry/bin/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# pylint: disable=missing-module-docstring
2-
__version__ = '0.12.11'
2+
__version__ = "0.12.11"

0 commit comments

Comments
 (0)