You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
212 B
12 lines
212 B
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o nounset
|
|
|
|
COMMIT=$(git rev-parse --short HEAD)
|
|
LASTMOD=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
|
|
|
git push heroku
|
|
|
|
heroku config:set "COMMIT=${COMMIT}" "LASTMOD=${LASTMOD}"
|