Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 56ed4bd

Browse files
committed
Fixed version name in webhook
1 parent 1ef2d19 commit 56ed4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function webhook {
1919
app_name="$2"
2020
message="$3"
2121
git_hash=`git rev-parse --short HEAD`
22-
version=`cat ${gradle_app_name}/build.gradle | grep -m 1 versionName | cut -d'"' -f 2`
22+
version=`cat build.gradle | grep -m 1 versionName | cut -d'"' -f 2`
2323

2424
echo $message
2525
echo $channel $gradle_app_name $app_name $version $ICON_URL

0 commit comments

Comments
 (0)