Commit ccc11bf5 authored by zeke's avatar zeke

update build_id to request_id and use human flag names

parent 4dcacde8
......@@ -97,12 +97,12 @@ status "Building runtime environment"
mkdir -p $build_dir/.profile.d
echo "export PATH=\"\$HOME/vendor/node/bin:$HOME/bin:\$HOME/node_modules/.bin:\$PATH\"" > $build_dir/.profile.d/nodejs.sh
# Package analytics
# Post to nomnom
curl \
-f \
-s \
-X POST \
-H "content-type: application/json" \
-d @$build_dir/package.json \
http://nomnom.heroku.com/?build_id=$REQUEST_ID \
> /dev/null 2>&1
--data @$build_dir/package.json \
--fail \
--silent \
--request POST \
--header "content-type: application/json" \
https://nomnom.heroku.com/?request_id=$REQUEST_ID \
> /dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment