From 4f3b3f5c0b00b8c47c7e7d8e6c2dda624e114cde Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 28 Jun 2021 12:17:20 +0200 Subject: put version in binary properly (#73) Addresses #71 : Set version on the CLI framework. Add a build.sh script that injects variables into the build tooling using git and a version file. Set version in config. --- GETTINGSTARTED.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'GETTINGSTARTED.md') diff --git a/GETTINGSTARTED.md b/GETTINGSTARTED.md index 758c0e0a2..be5ab2318 100644 --- a/GETTINGSTARTED.md +++ b/GETTINGSTARTED.md @@ -30,7 +30,11 @@ docker run -d --network host --user postgres -e POSTGRES_PASSWORD=some_password ### 5: Build the Binary -On your local machine (not your server), with Go installed, clone the GoToSocial repository, and build the binary with `go build ./cmd/gotosocial`. +On your local machine (not your server), with Go installed, clone the GoToSocial repository, and build the binary with the provided build script: + +```bash +./build/sh +``` ### 6: Prepare VPS -- cgit v1.3