We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b7c21e commit 5c13f92Copy full SHA for 5c13f92
.github/workflows/build-and-release.yml
@@ -24,7 +24,7 @@ jobs:
24
- name: Extract version
25
id: get_version
26
run: |
27
- VERSION=$(grep -E '^version\s*=' build.gradle | head -n 1 | cut -d'"' -f2)
+ VERSION=$(grep -E '^version\s*=\s*["'\''"]' build.gradle | head -n 1 | cut -d'"' -f2 | cut -d"'" -f2)
28
echo "Found version: $VERSION"
29
echo "::set-output name=VERSION::$VERSION"
30
0 commit comments