Skip to content

Commit f294685

Browse files
authored
fix: python VERSION variable (#146)
1 parent f4e1a74 commit f294685

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Task/python/Taskfile.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ tasks:
3939
- task: base:build
4040
vars:
4141
# Unable to make this global due to https://taskfile.dev/usage/#variables see https://github.com/go-task/task/issues/1295
42-
VERSION: pipenv run python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
42+
VERSION:
43+
sh: pipenv run python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
4344
PLATFORM: '{{.PLATFORM | default ""}}'
4445
DOCKER_BUILDX_CUSTOM_ARGS: '{{.DOCKER_BUILDX_CUSTOM_ARGS | default ""}}'
4546

@@ -62,7 +63,8 @@ tasks:
6263
- task: base:publish
6364
vars:
6465
# Unable to make this global due to https://taskfile.dev/usage/#variables see https://github.com/go-task/task/issues/1295
65-
VERSION: pipenv run python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
66+
VERSION:
67+
sh: pipenv run python -c 'from {{.PROJECT_SLUG}} import __version__; print(__version__)'
6668
PLATFORM: '{{.PLATFORM | default ""}}'
6769
DOCKER_BUILDX_CUSTOM_ARGS: '{{.DOCKER_BUILDX_CUSTOM_ARGS | default ""}}'
6870

0 commit comments

Comments
 (0)