Skip to content

Commit

Permalink
fix paths in create-release task
Browse files Browse the repository at this point in the history
[#158152549]

Signed-off-by: Aram Price <[email protected]>
  • Loading branch information
weymanf authored and aramprice committed Jul 2, 2018
1 parent 170b6b4 commit 38275d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/scripts/create-release
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ export GOPATH="${PWD}/go"
export PATH="${GOPATH}/bin:${PATH}"

cred_alert_root=$(cd "$(dirname "${BASH_SOURCE}")"; cd ../..; pwd)
release_params_path="${PWD}/release-params"

# set tag name
date +%Y-%m-%d-%H-%M-%S > release-params/tag-name
date +%Y-%m-%d-%H-%M-%S > "${release_params_path}/tag-name"

# set tag commit
pushd cred-alert
git rev-parse HEAD > ../release-params/commit-sha
pushd "${cred_alert_root}"
git rev-parse HEAD > "${release_params_path}"/commit-sha
popd

0 comments on commit 38275d3

Please sign in to comment.