fixed version building
This commit is contained in:
parent
51f1eab127
commit
c36ee74c5a
1 changed files with 2 additions and 2 deletions
|
|
@ -3,12 +3,12 @@ https://github.com/amidaware/tacticalrmm
|
|||
|
||||
#### building the agent - linux
|
||||
```
|
||||
env CGO_ENABLED=0 GOOS=<GOOS> GOARCH=<GOARCH> go build -ldflags "-s -w -X 'main.Version=v2.0.4"
|
||||
env CGO_ENABLED=0 GOOS=<GOOS> GOARCH=<GOARCH> go build -ldflags "-s -w -X 'main.version=v2.0.4'"
|
||||
```
|
||||
|
||||
#### building the agent - windows
|
||||
```
|
||||
$env:CGO_ENABLED="0";$env:GOOS="windows";$env:GOARCH="amd64"; go build -ldflags "-s -w -X 'main.Version=v2.0.4"
|
||||
$env:CGO_ENABLED="0";$env:GOOS="windows";$env:GOARCH="amd64"; go build -ldflags "-s -w -X 'main.version=v2.0.4'"
|
||||
```
|
||||
|
||||
### tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue