mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Match v* tags only
This commit is contained in:
		
							parent
							
								
									3e6530c813
								
							
						
					
					
						commit
						f4aa4f1848
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Get the last tag
 | 
					# Get the last tag
 | 
				
			||||||
TAG=$(git describe --abbrev=0 --tags 2>/dev/null)
 | 
					TAG=$(git describe --abbrev=0 --tags --match=v* 2>/dev/null)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Get the number of commits from the last tag, or if not, from
 | 
					# Get the number of commits from the last tag, or if not, from
 | 
				
			||||||
# the first commit
 | 
					# the first commit
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue