Skip to content

Commit

Permalink
Add note for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
rickmak committed Feb 18, 2022
1 parent 92ae9c8 commit 15f5064
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ build-reproducible: go.sum
--name latest-build likecoin/rbuilder:$(RBUILDER_IMAGE_TAG)
$(DOCKER) cp -a latest-build:/home/builder/artifacts/ $(CURDIR)/

docker-login:
@echo "Logging in to docker hub"


docker-build: go.sum
@echo "Building image for $(VERSION) using commit $(COMMIT)"
$(DOCKER) build \
Expand Down
41 changes: 41 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Making release

We have official release at Github release and docker image on Docker Hub.

For release at Github release, it is done via Github Action automatically once
developer create tag which match `v*.*.*` regex. For detail, one can check the
`.github/workflows` folder.

For docker images, we are not doing automatic build. When the dev team push
releasing tag to Github, they will run the following.

```sh
make clean
make docker-build
make docker-push
```

Community should be able to find the release at
https://hub.docker.com/r/likecoin/likecoin-chain

## Building release locally

If community member would like to build the binary locally, one can run

```sh
make clean build
```

You will find the platform specific binary at `build/liked`

## Cross build

In case you want to build a linux binary for your validator locally at your
Macbook, we provide a cross platform binary build command as follow.

```sh
make clean build-reproducible
```

You will find few binary at `artifacts` folders. The binary name should be self
explanatory for what platform it built form.

0 comments on commit 15f5064

Please sign in to comment.