Skip to content
Snippets Groups Projects
Commit e6175bd4 authored by Jonah Husson's avatar Jonah Husson
Browse files

Merge branch 'jonah/version' into 'release'

Add version bindings calls

See merge request !30
parents 9d8fc1a9 1578e4e5
No related branches found
No related tags found
2 merge requests!53Release,!30Add version bindings calls
......@@ -51,6 +51,7 @@ build:
except:
- tags
script:
- make version
- mkdir -p release
# - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' ./...
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/client.linux64 main.go
......
......
package bindings
import "gitlab.com/elixxir/client/api"
// GetVersion returns the api SEMVER
func GetVersion() string {
return api.SEMVER
}
// GetGitVersion rturns the api GITVERSION
func GetGitVersion() string {
return api.GITVERSION
}
// GetDependencies returns the api DEPENDENCIES
func GetDependencies() string {
return api.DEPENDENCIES
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment