Author: Adam <git@apiote.xyz>
fix release script
release.sh | 4 +---
diff --git a/release.sh b/release.sh index 325a44dc2886323de3d7aac05fe3740d0defff98..6b877266de48cdfdd45f999aceea6a61cbe6f02c 100755 --- a/release.sh +++ b/release.sh @@ -1,7 +1,5 @@ #!/bin/sh -. ci.token - releaseType="" phase=0 case "$1" in @@ -78,7 +76,7 @@ sed -i "s/versionName \"$currentVersionName\"/versionName \"$newVersionName\"/" app/build.gradle sed -i "s/versionCode $currentVersionCode/versionCode $newVersionCode/" app/build.gradle - git shortlog "${currentVersionName}..HEAD" >> "metadata/en-US/changelogs/$newVersionCode.txt" + git shortlog "v${currentVersionName}..HEAD" >> "metadata/en-US/changelogs/$newVersionCode.txt" echo "time to update changelogs" elif [ $phase -eq 1 ]