Show more version info #486

Merged
lunny merged 4 commits from 6543/tea:show-more-version-info into master 10 months ago
6543 commented 10 months ago
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 10 months ago
6543 added the
kind/enhancement
label 10 months ago
lunny approved these changes 10 months ago
6543 requested review from 42wim 10 months ago
42wim reviewed 10 months ago
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)

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 commented 10 months ago
Poster
Owner

@42wim done

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

Reviewers

lunny approved these changes 10 months ago
42wim approved these changes 10 months ago
continuous-integration/drone/pr Build is passing
The pull request has been merged as f83f579dea.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b 6543-show-more-version-info master
git pull show-more-version-info

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff 6543-show-more-version-info
git push origin master
Sign in to join this conversation.
Loading…
There is no content yet.