Skip to content

Commit

Permalink
Disabling re-building of binaries in circleci during upload stage (al…
Browse files Browse the repository at this point in the history
  • Loading branch information
algojack authored and cce committed Oct 28, 2021
1 parent e0735d5 commit 12fdfb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,14 @@ commands:
type: string
default: << pipeline.parameters.build_dir >>
steps:
- attach_workspace:
at: << parameters.build_dir >>
- run:
name: Upload binaries << parameters.platform >>
command: |
export PATH=$(echo "$PATH" | sed -e "s|:${HOME}/\.go_workspace/bin||g" | sed -e 's|:/usr/local/go/bin||g')
export GOPATH="<< parameters.build_dir >>/go"
export NO_BUILD=true
export TRAVIS_BRANCH=${CIRCLE_BRANCH}
scripts/travis/deploy_packages.sh
- when:
Expand Down Expand Up @@ -696,7 +701,6 @@ jobs:
executor: << parameters.platform >>_medium
steps:
- prepare_build_dir
- checkout
- prepare_go
- upload_binaries_command:
platform: << parameters.platform >>
Expand Down
4 changes: 3 additions & 1 deletion scripts/travis/deploy_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ then
exit 1
fi

scripts/travis/build.sh
if [ -z "${NO_BUILD}" ] || [ "${NO_BUILD}" != "true" ]; then
scripts/travis/build.sh
fi

export RELEASE_GENESIS_PROCESS=true
export NO_BUILD=true
Expand Down

0 comments on commit 12fdfb1

Please sign in to comment.