Skip to content

Commit

Permalink
Fixed AGENT_VERSION env var in scripts/github-release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
keithpitt committed Mar 20, 2015
1 parent b5b6a5e commit cc8de3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ fi

echo '--- Getting agent version from build meta data'

FULL_AGENT_VERSION=$(buildkite-agent meta-data get "agent-version")
AGENT_VERSION=$(echo $FULL_AGENT_VERSION | sed 's/buildkite-agent version //')
export FULL_AGENT_VERSION=$(buildkite-agent meta-data get "agent-version")
export AGENT_VERSION=$(echo $FULL_AGENT_VERSION | sed 's/buildkite-agent version //')

echo "Full agent version: $FULL_AGENT_VERSION"
echo "Agent version: $AGENT_VERSION"

echo '--- Downloading binaries'

Expand Down

0 comments on commit cc8de3e

Please sign in to comment.