Skip to content

Commit

Permalink
fix: sed
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 12, 2021
1 parent c2c98b8 commit 7a86613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $1 | 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
Expand Down

0 comments on commit 7a86613

Please sign in to comment.