mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Added drone instead of travis detection to makefile
This commit is contained in:
		
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							@@ -19,11 +19,11 @@ PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
TAGS ?=
 | 
					TAGS ?=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifneq ($(TRAVIS_TAG),)
 | 
					ifneq ($(DRONE_TAG),)
 | 
				
			||||||
	VERSION ?= $(TRAVIS_TAG)
 | 
						VERSION ?= $(DRONE_TAG)
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	ifneq ($(TRAVIS_BRANCH),)
 | 
						ifneq ($(DRONE_BRANCH),)
 | 
				
			||||||
		VERSION ?= $(TRAVIS_BRANCH)
 | 
							VERSION ?= $(DRONE_BRANCH)
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		VERSION ?= master
 | 
							VERSION ?= master
 | 
				
			||||||
	endif
 | 
						endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user