tea 0.14.2#290079
Conversation
|
Gitea serves archive with unstable hashes, as also discovered in Eg: Recent gitea upstream issue: |
|
Removed version.Tags as that is supposed to store Go TAGS ?=
SDK ?= $(shell $(GO) list -f '{{.Version}}' -m gitea.dev/sdk)
LDFLAGS := -X "gitea.dev/tea/modules/version.Version=$(TEA_VERSION)" -X "gitea.dev/tea/modules/version.Tags=$(TAGS)" -X "gitea.dev/tea/modules/version.SDK=$(SDK)" -s -w
# override to allow passing additional goflags via make CLI
override GOFLAGS := $(GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)'EDIT: This could be a candidate to switch to Makefile build. There was a previous discussion where Makefiles may be preferred over directly running Go, which helps avoid maintenance overhead seen in this PR for ldflags. The same binary can be produced here with system "make", "GOFLAGS=-trimpath", "EXECUTABLE=#{bin/name}"For now won't modify, but leaving comment as idea for future. |
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
Ref: * Homebrew#290079 * upstream: go-gitea/gitea#38207 (comment)
Created by
brew bumpCreated with
brew bump-formula-pr.