Skip to content

00. Build

Naoki Kosaka edited this page Mar 2, 2023 · 4 revisions

Build Activity-Relay from source

Requirements

  • git
  • Go 1.20 or newer

Clone the repository

$ git clone "https://github.com/yukimochi/Activity-Relay.git" -b v2.0.0

Note: Check for yourself the latest version here

Build

$ cd Activity-Relay
$ go build -o relay -ldflags "-X main.version=$(git describe --tags HEAD | sed -r 's/v(.*)/\1/')"