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:
		
							parent
							
								
									0f38da068c
								
							
						
					
					
						commit
						eeb9cbafe7
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -151,7 +151,7 @@ release-os: | ||||
| 	@hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 | ||||
| 		cd /tmp && $(GO) get -u github.com/mitchellh/gox; \
 | ||||
| 	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 | ||||
| release-compress: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 6543
						6543