summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarbara Poon <barbara.poon@algorand.com>2022-01-06 11:24:22 -0500
committerBarbara Poon <barbara.poon@algorand.com>2022-01-06 11:24:22 -0500
commit41632552c2c7316f046613fc358d10365a604b34 (patch)
tree2dad21bc00ef47a0f7c5d0ee520ab7132c1b02ab
parentf48c2dbb3d34c91f12ed7e9490ef54699265f2f4 (diff)
remove NO_BUILD flag when set to false
-rw-r--r--.circleci/config.yml46
1 files changed, 27 insertions, 19 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 70c82e3fb..3a891c1b3 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -500,25 +500,33 @@ commands:
type: string
default: "true"
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=<< parameters.no_build >>
- export TRAVIS_BRANCH=${CIRCLE_BRANCH}
- scripts/travis/deploy_packages.sh
- - when:
- condition:
- equal: [ "amd64", << parameters.platform >> ]
- steps:
- - run:
- name: test_release.sh
- command: |
- export TRAVIS_BRANCH=${CIRCLE_BRANCH}
- scripts/travis/test_release.sh
+ - attach_workspace:
+ at: << parameters.build_dir >>
+ - when:
+ condition:
+ equal: ["true", << parameters.no_build >>]
+ steps:
+ - run:
+ name: NO_BUILD=<< parameters.no_build >>
+ command: |
+ export NO_BUILD=<< parameters.no_build >>
+ - 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 TRAVIS_BRANCH=${CIRCLE_BRANCH}
+ scripts/travis/deploy_packages.sh
+ - when:
+ condition:
+ equal: [ "amd64", << parameters.platform >> ]
+ steps:
+ - run:
+ name: test_release.sh
+ command: |
+ export TRAVIS_BRANCH=${CIRCLE_BRANCH}
+ scripts/travis/test_release.sh
jobs:
codegen_verification: