From e7f6d637f4c88202ca5fa3b8e294b9d620f4fa08 Mon Sep 17 00:00:00 2001 From: armaniferrante Date: Tue, 6 Apr 2021 16:15:29 -0700 Subject: [PATCH] docs, docker: Update cli version and add publish command --- docker/Makefile | 6 ++++-- docs/src/getting-started/installation.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/Makefile b/docker/Makefile index fcef1288b..d84dd7b4f 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -13,7 +13,7 @@ SOLANA_CLI=v1.6.3 IMG_ORG ?= projectserum IMG_VER ?= $(ANCHOR_CLI) -.PHONY: build build-push build-shell +.PHONY: build build-push build-shell publish default: @@ -24,9 +24,11 @@ build: build/Dockerfile $@ -t $(IMG_ORG)/$@:$(IMG_VER) build-push: - @docker push $(IMG_ORG)/anchorbuild:$(IMG_VER) + @docker push $(IMG_ORG)/build:$(IMG_VER) build-shell: @docker run -ti --rm --net=host \ -v $(WORKDIR)/..:/workdir \ $(IMG_ORG)/build:$(IMG_VER) bash + +publish: build build-push diff --git a/docs/src/getting-started/installation.md b/docs/src/getting-started/installation.md index c350ced95..81d8dd01a 100644 --- a/docs/src/getting-started/installation.md +++ b/docs/src/getting-started/installation.md @@ -34,7 +34,7 @@ npm install -g mocha For now, we can use Cargo to install the CLI. ```bash -cargo install --git https://github.com/project-serum/anchor --tag v0.4.0 anchor-cli --locked +cargo install --git https://github.com/project-serum/anchor --tag v0.4.1 anchor-cli --locked ``` On Linux systems you may need to install additional dependencies if `cargo install` fails. On Ubuntu,