mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Fix version numbers in MSI
This commit is contained in:
		
							parent
							
								
									63967462d9
								
							
						
					
					
						commit
						272670b85b
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -106,7 +106,6 @@ cat > wix.xml << EOF
 | 
				
			||||||
    Language="1033"
 | 
					    Language="1033"
 | 
				
			||||||
    Codepage="1252"
 | 
					    Codepage="1252"
 | 
				
			||||||
    Version="${PKGVERSIONMS}"
 | 
					    Version="${PKGVERSIONMS}"
 | 
				
			||||||
    Platform="${PKGARCH}"
 | 
					 | 
				
			||||||
    Manufacturer="github.com/yggdrasil-network">
 | 
					    Manufacturer="github.com/yggdrasil-network">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <Package
 | 
					    <Package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ fi
 | 
				
			||||||
# Split out into major, minor and patch numbers
 | 
					# Split out into major, minor and patch numbers
 | 
				
			||||||
MAJOR=$(echo $TAG | cut -c 2- | cut -d "." -f 1)
 | 
					MAJOR=$(echo $TAG | cut -c 2- | cut -d "." -f 1)
 | 
				
			||||||
MINOR=$(echo $TAG | cut -c 2- | cut -d "." -f 2)
 | 
					MINOR=$(echo $TAG | cut -c 2- | cut -d "." -f 2)
 | 
				
			||||||
PATCH=$(echo $TAG | cut -c 2- | cut -d "." -f 3)
 | 
					PATCH=$(echo $TAG | cut -c 2- | cut -d "." -f 3 | awk -F"rc" '{print $1}')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Output in the desired format
 | 
					# Output in the desired format
 | 
				
			||||||
if [ $((PATCH)) -eq 0 ]; then
 | 
					if [ $((PATCH)) -eq 0 ]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue