Skip to content

Commit

Permalink
Build (no upload) contracts on every commit to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Apr 22, 2021
1 parent c3457ac commit a378314
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/

0 comments on commit a378314

Please sign in to comment.