Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

ci: release workflows #39

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Compile with Docker
run: |
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.14.0
tar -zcvf cosmwasm-artifacts.tar.gz artifacts
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: cosmwasm-artifacts.tar.gz
body_path: CHANGELOG.md
4 changes: 2 additions & 2 deletions scripts/get_all_price_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ elysd tx wasm store artifacts/trade_shield_contract.wasm --from=treasury --keyri
sleep 2
instantiate_hash=$(extract_txhash elysd tx wasm instantiate 1 '{"process_order_executor": "elys1ehdv05a4jvxnpqdlhznqxanpzun7uhle5rqyn2"}' --from=treasury --label "Contract" --chain-id=elystestnet-1 --gas=auto --gas-adjustment=1.3 -b=sync --keyring-backend=test --no-admin -y 2> /dev/null)
sleep 2
addr=$(extract_contract_address elysd q tx $instantiate_hash)
addr=$(extract_contract_address elysd q tx $instantiate_hash)
echo "contract addr:"
echo "$addr"
elysd q wasm contract-state smart $addr '{"get_all_prices": {}}'
# elysd q wasm contract-state smart $addr '{"get_all_prices": {}}'
Loading