Skip to content

Commit

Permalink
test schema publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Sep 13, 2022
1 parent 7c9db36 commit f8549ce
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 @@ -47,12 +47,7 @@ workflows:
only: /^v[0-9]+\.[0-9]+\.[0-9]+.*/
branches:
ignore: /.*/
- build_and_upload_schemas:
filters:
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+.*/
branches:
ignore: /.*/
- build_and_upload_schemas

jobs:
contract_cw1_subkeys:
Expand Down Expand Up @@ -789,15 +784,15 @@ jobs:
- run:
name: Show data
command: ls -l ./schemas
- run:
name: Publish schemas on GitHub
command: |
TAG="$CIRCLE_TAG"
TITLE="$TAG"
BODY="Attached there are some schemas and 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" \
-replace \
"$TAG" ./schemas/
# - run:
# name: Publish schemas on GitHub
# command: |
# TAG="$CIRCLE_TAG"
# TITLE="$TAG"
# BODY="Attached there are some schemas and 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" \
# -replace \
# "$TAG" ./schemas/

0 comments on commit f8549ce

Please sign in to comment.