Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
heroku-builds
Advanced tools
Heroku CLI plugin to list and create builds for Heroku apps.
heroku plugins:install heroku-builds
Lists 10 most recently created builds for example-app
heroku builds -a example-app
Optionally show more builds with the -n
flag:
heroku builds -n 50 -a example-app
Show details of the latest build (status, buildpacks, date):
heroku builds:info -a example-app
For details of a specific build, provide an ID:
heroku builds:info <id> -a example-app
heroku builds:create -a example-app
Creates a .tar.gz
archive from the current working directory, uploads the archive to Heroku and creates a build from the contents of the archive. Build output is streamed to stderr
. Hitting ctrl+c will not cancel the build and release. The .git
directory (if present) is excluded from the upload, as are items matching entries in the .gitignore
file (if present).
You can pass an optional --version
argument in lieu of a git commit messages. Example:
heroku builds:create --version "added foo feature" -a example-app
If you pass a --source-url
argument to the create
command, a build will be created from the contents of a tarball found at the URL. The current working directory contents is not used. Example:
heroku builds:create --source-url https://github.com/heroku/node-js-sample/archive/master.tar.gz -a example-app
As above, build output is streamed to stderr
and an optional --version
argument is supported.
If you pass a --source-tar
argument to the create
command, a build will be created from the contents of a tarball found at the path given. The current working directory contents is not used. Example:
heroku builds:create --source-tar master.tar.gz -a example-app
As above, build output is streamed to stderr
and an optional --version
argument is supported.
For the latest build output on an app, use either of the following:
heroku builds:output -a example-app
heroku builds:output current -a example-app
To view the output for a specific build:
heroku builds -a example-app # take note of the build ID you'd want to display
heroku builds:output <id> -a example-app
heroku builds:cache:purge -a example-app
Clears the build cache, used by buildpacks to store information across builds
heroku builds -a example-app # take note of the build ID you'd want to display
heroku builds:cancel <id> -a example-app
Cancels the build for build
Contributions to the plugin are welcome. Report bugs and suggestions using GitHub Issues on the repository.
A Content-Size
header is required when uploading to pre-signed S3 urls, so we have to create the archive and figure out how big it is before upload can begin.
FAQs
Heroku CLI plugin to list and create builds for Heroku apps
We found that heroku-builds demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 32 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.