minor fixes

This commit is contained in:
Aidan Feldman 2016-03-10 11:40:41 -05:00
parent f1a98f3e9a
commit 96314b8a7c
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L4-L16
set -e
set -x
exec 3>&1 # make stdout available as fd 3 for the result
exec 1>&2 # redirect all output to stderr for logging
@ -36,5 +37,5 @@ echo "...done."
# https://github.com/concourse/git-resource/blob/6fcfbd4/assets/out#L133-L136
jq -n "{
version: {
timestamp: $(date +%s)}
timestamp: \"$(date +%s)\"}
}" >&3

View file

@ -9,7 +9,7 @@ if [ -z "$source" ]; then
exit 1
fi
json=$(cat .env.json)
json=$(cat config.json)
docker build -t 18fgsa/s3-resource-simple .