github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/scripts/update-core-contracts.sh (about)

     1  #!/bin/sh
     2  #
     3  # This script updates all flow-core-contracts dependencies to a new version.
     4  # Specify the desired version as the only argument when running the script:
     5  #   ./scripts/update-core-contracts.sh v1.2.3
     6  
     7  go get github.com/onflow/flow-core-contracts/lib/go/contracts@$1
     8  go get github.com/onflow/flow-core-contracts/lib/go/templates@$1
     9  cd integration
    10  go get github.com/onflow/flow-core-contracts/lib/go/contracts@$1
    11  go get github.com/onflow/flow-core-contracts/lib/go/templates@$1
    12  cd ../insecure/
    13  go get github.com/onflow/flow-core-contracts/lib/go/contracts@$1
    14  go get github.com/onflow/flow-core-contracts/lib/go/templates@$1
    15  cd ..