Skip to content
Snippets Groups Projects
Commit 72716864 authored by Chris Molozian's avatar Chris Molozian
Browse files

Set new development version.

parent 46906234
Branches
Tags
No related merge requests found
...@@ -3,6 +3,9 @@ All notable changes to this project are documented below. ...@@ -3,6 +3,9 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).
## [Unreleased]
## [2.1.0] - 2018-10-08 ## [2.1.0] - 2018-10-08
### Added ### Added
- New Go code runtime for custom functions and authoritative match handlers. - New Go code runtime for custom functions and authoritative match handlers.
......
...@@ -39,7 +39,7 @@ These steps are run for each new release. ...@@ -39,7 +39,7 @@ These steps are run for each new release.
3. Execute the cross-compiled build helper. 3. Execute the cross-compiled build helper.
``` ```
xgo --targets=darwin/amd64,linux/amd64,linux/arm64,windows/amd64 --ldflags "-s -w -X main.version=2.1.0 -X main.commitID=$(git rev-parse --short HEAD 2>/dev/null)" --branch v2.1.0 github.com/heroiclabs/nakama xgo --targets=darwin/amd64,linux/amd64,linux/arm64,windows/amd64 --ldflags "-s -w -X main.version=2.1.0 -X main.commitID=$(git rev-parse --short HEAD 2>/dev/null)" github.com/heroiclabs/nakama
``` ```
This will build binaries for all target platforms supported officially by Heroic Labs. This will build binaries for all target platforms supported officially by Heroic Labs.
...@@ -60,13 +60,15 @@ With the release generated we can create the official container image. ...@@ -60,13 +60,15 @@ With the release generated we can create the official container image.
``` ```
cd build cd build
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=v2.1.0 -t heroiclabs/nakama:2.1.0 docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=2.1.0 -t heroiclabs/nakama:2.1.0
``` ```
2. Push the image to the container registry. 2. Push the image to the container registry.
``` ```
docker tag <CONTAINERID> heroiclabs/nakama:latest
docker push heroiclabs/nakama:2.1.0 docker push heroiclabs/nakama:2.1.0
docker push heroiclabs/nakama:latest
``` ```
## Build Plugin Builder Image ## Build Plugin Builder Image
...@@ -77,11 +79,13 @@ With the official release image generated we can create a container image to hel ...@@ -77,11 +79,13 @@ With the official release image generated we can create a container image to hel
``` ```
cd build/pluginbuilder cd build/pluginbuilder
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=v2.1.0 -t heroiclabs/nakama-pluginbuilder:2.1.0 docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=2.1.0 -t heroiclabs/nakama-pluginbuilder:2.1.0
``` ```
2. Push the image to the container registry. 2. Push the image to the container registry.
``` ```
docker tag <CONTAINERID> heroiclabs/nakama-pluginbuilder:latest
docker push heroiclabs/nakama-pluginbuilder:2.1.0 docker push heroiclabs/nakama-pluginbuilder:2.1.0
docker push heroiclabs/nakama-pluginbuilder:latest
``` ```
...@@ -31,8 +31,10 @@ ENV CGO_ENABLED 1 ...@@ -31,8 +31,10 @@ ENV CGO_ENABLED 1
RUN apk --no-cache add ca-certificates gcc musl-dev git && \ RUN apk --no-cache add ca-certificates gcc musl-dev git && \
git config --global advice.detachedHead false && \ git config --global advice.detachedHead false && \
git clone --quiet --no-checkout https://github.com/heroiclabs/nakama.git /go/src/github.com/heroiclabs/nakama && \ git clone --quiet --no-checkout https://github.com/heroiclabs/nakama.git /go/src/github.com/heroiclabs/nakama
git checkout --quiet "$commit"
WORKDIR /go/src/github.com/heroiclabs/nakama
RUN git checkout --quiet "$commit"
WORKDIR /go/src/tempbuild/ WORKDIR /go/src/tempbuild/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment