Show more version info #486

Merged
lunny merged 4 commits from 6543/tea:show-more-version-info into master 8 months ago
6543 commented 8 months ago
Collaborator
./tea  --version

return:

Version: 0.8.0+38-gf964b16 golang: 1.18.1 go-sdk: v0.15.0


close #439

```sh ./tea --version ``` ## return: Version: **0.8.0+38-gf964b16** golang: 1.18.1 go-sdk: v0.15.0 --- close #439
6543 added this to the v0.9.0 milestone 8 months ago
6543 added the kind/enhancement label 8 months ago
6543 added 2 commits 8 months ago
lunny approved these changes 8 months ago
6543 added 1 commit 8 months ago
continuous-integration/drone/pr Build is passing Details
f8ea535f7b
Merge branch 'master' into show-more-version-info
6543 requested review from 42wim 8 months ago
42wim reviewed 8 months ago
Makefile Outdated
TAGS ?=
LDFLAGS := -X "main.Version=$(TEA_VERSION)" -X "main.Tags=$(TAGS)" -s -w
SDK ?= $(shell grep code.gitea.io/sdk/gitea go.mod | tr -d '\t' | cut -d ' ' -f 2)
42wim commented 8 months ago

Maybe better use the go tooling ?
go list -f '{{.Version}}' -m code.gitea.io/sdk/gitea

Maybe better use the go tooling ? `go list -f '{{.Version}}' -m code.gitea.io/sdk/gitea`
6543 marked this conversation as resolved
6543 added 1 commit 8 months ago
continuous-integration/drone/pr Build is passing Details
13cdcc36bd
use go tooling
6543 commented 8 months ago
Poster
Collaborator

@42wim done

@42wim done
42wim approved these changes 8 months ago
lunny merged commit f83f579dea into master 8 months ago
lunny referenced this issue from a commit 8 months ago
6543 deleted branch show-more-version-info 8 months ago

Reviewers

lunny approved these changes 8 months ago
42wim approved these changes 8 months ago
continuous-integration/drone/pr Build is passing
The pull request has been merged as f83f579dea.
Sign in to join this conversation.
Loading…
There is no content yet.