mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	Use pre-built hugo binary in release step (#12725)
* Use pre-built hugo binary in release step * decrease verbosity of tar
This commit is contained in:
		
					parent
					
						
							
								b51bd7f1d6
							
						
					
				
			
			
				commit
				
					
						bab1204db4
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -617,7 +617,7 @@ release-docs: | $(DIST_DIRS) docs
 | 
				
			||||||
.PHONY: docs
 | 
					.PHONY: docs
 | 
				
			||||||
docs:
 | 
					docs:
 | 
				
			||||||
	@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 | 
						@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
 | 
				
			||||||
		$(GO) get -u github.com/gohugoio/hugo; \
 | 
							curl -sL https://github.com/gohugoio/hugo/releases/download/v0.74.3/hugo_0.74.3_Linux-64bit.tar.gz | tar zxf - -C /tmp && mv /tmp/hugo /usr/bin/hugo && chmod +x /usr/bin/hugo; \
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
	cd docs; make trans-copy clean build-offline;
 | 
						cd docs; make trans-copy clean build-offline;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue