We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bb6ce commit a840ef3Copy full SHA for a840ef3
.github/workflows/test.yml
@@ -43,19 +43,13 @@ jobs:
43
cache: pip
44
python-version: 3
45
46
- - name: Install build
47
- run: pip install build
48
-
49
- - name: Build package
50
- run: python -m build
51
52
- name: Install package
53
run: pipx install .
54
55
- name: Check version
56
run: |
57
set -e
58
- version=$(python -c 'import python_cli_template; print(python_cli_template.__version__)')
+ version=$(grep version src/python_cli_template/__init__.py | cut -d'"' -f 2")
59
[[ $(python -m python_cli_template --version) == $version ]]
60
[[ $(python -m python_cli_template -v) == $version ]]
61
[[ $(python_cli_template --version) == $version ]]
0 commit comments