Update README.md for change to build command to support version number

This commit is contained in:
cr0bar 2024-09-18 08:51:13 +01:00 committed by GitHub
parent 845f02b381
commit 1309979d1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,7 +61,7 @@ ARCHIVAL_SYNC="FALSE" # set to TRUE to archive every note from every person in t
Run the following command to build the relay: Run the following command to build the relay:
```bash ```bash
go build go build -ldflags "-X main.version=$(git describe --tags --always)"
``` ```
### 5. Create a Systemd Service (optional) ### 5. Create a Systemd Service (optional)