mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-30 16:55:25 +01:00 
			
		
		
		
	Fix release build with gox (#290)
fix Reviewed-on: https://gitea.com/gitea/tea/pulls/290 Reviewed-by: mrsdizzie <info@mrsdizzie.com> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-Authored-By: 6543 <6543@obermui.de> Co-Committed-By: 6543 <6543@obermui.de>
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -151,7 +151,7 @@ release-os: | |||||||
| 	@hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | 	@hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | ||||||
| 		cd /tmp && $(GO) get -u github.com/mitchellh/gox; \ | 		cd /tmp && $(GO) get -u github.com/mitchellh/gox; \ | ||||||
| 	fi | 	fi | ||||||
| 	CGO_ENABLED=0 gox -verbose -cgo=false -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -osarch='!darwin/386 !darwin/arm64 !darwin/arm' -os="windows linux darwin" -arch="386 amd64 arm arm64" -output="$(DIST)/binaries/release/tea-$(VERSION)-{{.OS}}-{{.Arch}}" | 	CGO_ENABLED=0 gox -verbose -cgo=false -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -osarch='!darwin/386 !darwin/arm64 !darwin/arm' -os="windows linux darwin" -arch="386 amd64 arm arm64" -output="$(DIST)/release/tea-$(VERSION)-{{.OS}}-{{.Arch}}" | ||||||
|  |  | ||||||
| .PHONY: release-compress | .PHONY: release-compress | ||||||
| release-compress: | release-compress: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 6543
					6543