From c2c98b8f33fa2f41b8ec5b76540041c0b6b2ec1e Mon Sep 17 00:00:00 2001 From: rfaircloth-splunk Date: Fri, 12 Feb 2021 11:42:26 -0500 Subject: [PATCH] fix: typo --- .circleci/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/publish.sh b/.circleci/publish.sh index 11b61e10..f9586c85 100755 --- a/.circleci/publish.sh +++ b/.circleci/publish.sh @@ -4,7 +4,7 @@ source ~/.venv/bin/activate PACKAGE=$(ls build/package/splunkbase/*) PACKAGE_ID=$(crudini --get package/default/app.conf id name) [[ $1 =~ ^v[0-9]*.[0-9]*.[0-9]*$ ]] || export ISPRE=-prerelease -SPLUNKBASE_VERSION=$(echo $SPLUNKBAS1E_VERSION | sed 's/v//' | sed 's/-develop./develop/g') +SPLUNKBASE_VERSION=$(echo $1 | sed 's/v//' | sed 's/-develop./develop/g') echo publish $SPLUNKBASE_VERSION [ "${ISPRE}" == "-prerelease" ] && SPLUNKBASE_VIS="false" || SPLUNKBASE_VIS="true" echo uploading package