mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Semver version fix
This commit is contained in:
		
							parent
							
								
									c5529a3a38
								
							
						
					
					
						commit
						2b6aa3e2d7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$1" == "--bare" ]; then
 | 
					if [[ $* == *--bare* ]]; then
 | 
				
			||||||
    # Remove the "v" prefix
 | 
					    # Remove the "v" prefix
 | 
				
			||||||
    git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" | cut -c 2-
 | 
					    git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" | cut -c 2-
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue