From b51f5f6ccf40df1665cf3716450dbea6509a98da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Sat, 15 Jun 2019 13:51:16 -0400 Subject: [PATCH] fdroid: add quotes if version is a number Change-Id: Iaf5112340f43c4238a426972339929df2652c2b2 --- fdroidMergeRequest.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidMergeRequest.sh b/fdroidMergeRequest.sh index 23bb0ce91..de822c0fb 100755 --- a/fdroidMergeRequest.sh +++ b/fdroidMergeRequest.sh @@ -44,6 +44,10 @@ cp ${METADATA_FOLDER}/cx.ring.yml ${METADATA_FOLDER}/cx.ring.yml_ head -n -11 ${METADATA_FOLDER}/cx.ring.yml_ > ${METADATA_FOLDER}/cx.ring.yml +if [[ ${versionName} =~ ^[0-9]+$ ]]; then + versionName="'${versionName}'" +fi + echo " - versionName: ${versionName} versionCode: ${versionCode} commit: ${commit} -- GitLab