Skip to content

Commit

Permalink
Makefile: temporary use NeoGo master to build contracts and RPC bindings
Browse files Browse the repository at this point in the history
Use afa4530c7d739d08df7865440dbe66f55f7e558b commit (the current master).
It allows to omit hash parameter for RPC bindings and make them reusable
for a set of different networks.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Aug 2, 2023
1 parent 536227c commit 1f0c100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
run: make build

- name: Check that fresh version of RPC bindings is committed
if: ${{ git diff --name-only | grep '^rpc/*' -c }} != 0
if: ${{ $BINDINGS_DIFF }} != 0
run: |
echo "Fresh version of RPC bindings should be committed for the following contracts"
git diff --name-only
exit 1
if [[ $(git diff --name-only | grep '^rpc/*' -c) != 0 ]]; then
echo "Fresh version of RPC bindings should be committed for the following contracts";
git diff --name-only;
exit 1;
fi
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export GOBIN ?= $(shell pwd)/bin
export CGO_ENABLED=0
NEOGO ?= $(GOBIN)/cli
VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
NEOGOORIGMOD = github.com/nspcc-dev/neo-go
NEOGOORIGMOD = github.com/nspcc-dev/neo-go@v0.101.5-0.20230802075307-afa4530c7d73
NEOGOMOD = $(shell go list -f '{{.Path}}' -m $(NEOGOORIGMOD))
NEOGOVER = $(shell go list -f '{{.Version}}' -m $(NEOGOORIGMOD) | tr -d v)

Expand Down

0 comments on commit 1f0c100

Please sign in to comment.