pulumi/scripts/publish.sh

14 lines
342 B
Bash
Raw Normal View History

#!/bin/bash
# publish.sh builds and publishes a release.
set -e
PUBLISH=$GOPATH/src/github.com/pulumi/pulumi/scripts/publish.sh
if [ ! -f $PUBLISH ]; then
>&2 echo "error: Missing publish script at $PUBLISH"
exit 1
fi
2017-09-08 06:29:50 +02:00
RELEASE_INFO=($($(dirname $0)/make_release.sh))
${PUBLISH} ${RELEASE_INFO[0]} pulumi-fabric ${RELEASE_INFO[@]:1}