Skip to content

Commit

Permalink
Update for registry publishing (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Aug 9, 2021
1 parent e390367 commit 5c331d3
Show file tree
Hide file tree
Showing 6 changed files with 204 additions and 70 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ rust:
env:
global:
- NODE_VERSION="v14.7.0"
- SOLANA_VERSION="v1.6.6"
- ANCHOR_VERSION="v0.6.0"
- SOLANA_VERSION="v1.7.8"
- ANCHOR_VERSION="v0.13.0"

before_deploy:
- anchor build --verifiable
- echo "### SHA256 Checksums" > release_notes.md
- sha256sum target/deploy/multisig.so > binary.txt
- sha256sum target/idl/multisig.json > idl.txt
- sha256sum target/deploy/serum_multisig.so > binary.txt
- sha256sum target/idl/serum_multisig.json > idl.txt
- cat *.txt >> release_notes.md
- echo "" >> release_notes.md
- echo "Built with Anchor [${ANCHOR_VERSION}](https://github.com/project-serum/anchor/releases/tag/${ANCHOR_VERSION})." >> release_notes.md
Expand All @@ -21,8 +21,8 @@ deploy:
provider: releases
edge: true
file:
- "target/deploy/multisig.so"
- "target/idl/multisig.json"
- "target/deploy/serum_multisig.so"
- "target/idl/serum_multisig.json"
release_notes_file: release_notes.md
skip_cleanup: true
on:
Expand Down
13 changes: 9 additions & 4 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
anchor_version = "0.13.0"

[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"

[clusters.devnet]
multisig = "F3Uf5F61dmht1xuNNNkk3jnzj82TY56vVjVEhZALRkN"
[programs.devnet]
serum_multisig = "F3Uf5F61dmht1xuNNNkk3jnzj82TY56vVjVEhZALRkN"

[programs.mainnet]
serum_multisig = { address = "A9HAbnCwoD6f2NkZobKFf6buJoN9gUVVvX5PoUnDHS6u", path = "./target/deploy/serum_multisig.so", idl = "./target/idl/serum_multisig.json" }

[clusters.mainnet]
multisig = "A9HAbnCwoD6f2NkZobKFf6buJoN9gUVVvX5PoUnDHS6u"
[scripts]
test = "mocha -t 1000000 tests/"
Loading

0 comments on commit 5c331d3

Please sign in to comment.