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 721aae3 commit 721eafcCopy full SHA for 721eafc
.github/workflows/release.yml
@@ -41,11 +41,9 @@ jobs:
41
- name: Determine version
42
id: check
43
run: |
44
- casVersion=(`cat ./gradle.properties | grep "version" | cut -d= -f2`)
45
- echo "Detected version: $casVersion"
46
-
47
- # decide if it’s a SNAPSHOT
48
- if [[ "$casVersion" == *-SNAPSHOT ]]; then
+ RELEASE_VERSION="${{ inputs.releaseVersion }}"
+ echo "Detected release version: $RELEASE_VERSION"
+ if [[ "$RELEASE_VERSION" == *-SNAPSHOT ]]; then
49
echo "is_snapshot=true"
50
else
51
echo "is_snapshot=false"
0 commit comments