Show more version info #486

Merged
lunny merged 4 commits from 6543/tea:show-more-version-info into master 2022-06-18 14:34:19 +00:00
Owner
./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 2022-06-10 12:49:28 +00:00
6543 added the
kind
enhancement
label 2022-06-10 12:49:28 +00:00
6543 added 2 commits 2022-06-10 12:49:29 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
1180e2a830
add sdk version into version info
lunny approved these changes 2022-06-10 14:32:19 +00:00
6543 added 1 commit 2022-06-10 15:12:32 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
f8ea535f7b
Merge branch 'master' into show-more-version-info
6543 requested review from 42wim 2022-06-17 00:34:25 +00:00
42wim reviewed 2022-06-17 14:10:29 +00:00
Makefile Outdated
@ -25,3 +25,3 @@
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)
Member

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 2022-06-18 13:58:50 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
13cdcc36bd
use go tooling
Author
Owner

@42wim done

@42wim done
42wim approved these changes 2022-06-18 14:03:30 +00:00
lunny merged commit f83f579dea into master 2022-06-18 14:34:19 +00:00
lunny referenced this issue from a commit 2022-06-18 14:34:19 +00:00
6543 deleted branch show-more-version-info 2022-06-18 18:06:33 +00:00
Sign in to join this conversation.
No description provided.