Skip to content

Commit

Permalink
feat(monitoring): use major action version (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
rofe committed Apr 22, 2020
1 parent 528d3fe commit 81cd706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/orbs/helix-post-deploy/orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ commands:
if [ "${actionName}" == "" ]; then
actionName=`node -e "console.log(require('./package.json').name.replace('@adobe/helix-', ''))"`
fi
actionVersion=`node -e "console.log(require('./package.json').version.match(/^[0-9]+.[0-9]+/)[0])"`
actionVersion=`node -e "console.log(require('./package.json').version.match(/^[0-9]+/)[0])"`
nrURL="https://adobeioruntime.net/api/v1/web/${actionNS}/${actionPackage}/${actionName}@v${actionVersion}/_status_check/healthcheck.json"
fi
node ${toolPath}/newrelic setup ${nrURL} ${spEmail} ${nrName:+--name "${nrName}"} ${nrType:+--type "${nrType}"} ${nrScript:+--script "${nrScript}"} ${nrGroupPolicy:+--group_policy "${nrGroupPolicy}"} ${incubator:+--incubator "${incubator}"}

0 comments on commit 81cd706

Please sign in to comment.