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" ...@@ -97,12 +97,12 @@ status "Building runtime environment"
mkdir -p $build_dir/.profile.d 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 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 \ curl \
-f \ --data @$build_dir/package.json \
-s \ --fail \
-X POST \ --silent \
-H "content-type: application/json" \ --request POST \
-d @$build_dir/package.json \ --header "content-type: application/json" \
http://nomnom.heroku.com/?build_id=$REQUEST_ID \ https://nomnom.heroku.com/?request_id=$REQUEST_ID \
> /dev/null 2>&1 > /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