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 6a415fc commit 01b6b2fCopy full SHA for 01b6b2f
.github/workflows/deploy-pypi.yml
@@ -35,7 +35,7 @@ jobs:
35
- name: Prep Release
36
id: prep
37
run: |
38
- cd cli
+ cd src
39
# Parse version
40
VERSION=$(./scripts/get_version.sh)
41
echo "Setting release version to $VERSION"
src/scripts/get_version.sh
@@ -0,0 +1,5 @@
1
+#!/bin/bash
2
+
3
+SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4
5
+cat "$SCRIPTPATH/../setup.py"| grep -E "VERSION\s+=\s+" | sed -E "s#.*([0-9]+.[0-9]+.[0-9]+[a-zA-Z]?).*#\1#g"
0 commit comments