From c3457ac9eb694c74511aeb955ab863726ced2274 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Thu, 22 Apr 2021 11:50:38 +0200 Subject: [PATCH 1/3] Use rust-optimized 0.11.2 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 58ee822a4..399c3ab2e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1009,7 +1009,7 @@ jobs: - run: name: Build development contracts command: | - docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.11.0 + docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.11.2 docker cp with_code:/code/artifacts ./artifacts - run: name: Show data From a378314d28bf9b3e315aed551407276e568b5471 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Thu, 22 Apr 2021 11:51:52 +0200 Subject: [PATCH 2/3] Build (no upload) contracts on every commit to debug --- .circleci/config.yml | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 399c3ab2e..b9350061a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,12 +32,7 @@ workflows: - wasm-build deploy: jobs: - - build_and_upload_contracts: - filters: - tags: - only: /^v[0-9]+\.[0-9]+\.[0-9]+.*/ - branches: - ignore: /.*/ + - build_and_upload_contracts jobs: contract_cw1_subkeys: @@ -1016,15 +1011,15 @@ jobs: command: | ls -l artifacts cat artifacts/checksums.txt - - run: - name: Publish artifacts on GitHub - command: | - TAG="$CIRCLE_TAG" - TITLE="$TAG" - BODY="Attached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release." - ghr -t "$GITHUB_TOKEN" \ - -u "$CIRCLE_PROJECT_USERNAME" -r "$CIRCLE_PROJECT_REPONAME" \ - -c "$CIRCLE_SHA1" \ - -n "$TITLE" -b "$BODY" \ - -delete \ - "$TAG" ./artifacts/ +# - run: +# name: Publish artifacts on GitHub +# command: | +# TAG="$CIRCLE_TAG" +# TITLE="$TAG" +# BODY="Attached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release." +# ghr -t "$GITHUB_TOKEN" \ +# -u "$CIRCLE_PROJECT_USERNAME" -r "$CIRCLE_PROJECT_REPONAME" \ +# -c "$CIRCLE_SHA1" \ +# -n "$TITLE" -b "$BODY" \ +# -delete \ +# "$TAG" ./artifacts/ From 697163bd227cee7e4a4fc9d893a4ddc0726f0957 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Thu, 22 Apr 2021 12:06:18 +0200 Subject: [PATCH 3/3] Revert "Build (no upload) contracts on every commit to debug" This reverts commit a378314d28bf9b3e315aed551407276e568b5471. --- .circleci/config.yml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9350061a..399c3ab2e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,12 @@ workflows: - wasm-build deploy: jobs: - - build_and_upload_contracts + - build_and_upload_contracts: + filters: + tags: + only: /^v[0-9]+\.[0-9]+\.[0-9]+.*/ + branches: + ignore: /.*/ jobs: contract_cw1_subkeys: @@ -1011,15 +1016,15 @@ jobs: command: | ls -l artifacts cat artifacts/checksums.txt -# - run: -# name: Publish artifacts on GitHub -# command: | -# TAG="$CIRCLE_TAG" -# TITLE="$TAG" -# BODY="Attached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release." -# ghr -t "$GITHUB_TOKEN" \ -# -u "$CIRCLE_PROJECT_USERNAME" -r "$CIRCLE_PROJECT_REPONAME" \ -# -c "$CIRCLE_SHA1" \ -# -n "$TITLE" -b "$BODY" \ -# -delete \ -# "$TAG" ./artifacts/ + - run: + name: Publish artifacts on GitHub + command: | + TAG="$CIRCLE_TAG" + TITLE="$TAG" + BODY="Attached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release." + ghr -t "$GITHUB_TOKEN" \ + -u "$CIRCLE_PROJECT_USERNAME" -r "$CIRCLE_PROJECT_REPONAME" \ + -c "$CIRCLE_SHA1" \ + -n "$TITLE" -b "$BODY" \ + -delete \ + "$TAG" ./artifacts/