mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Let's try this again
This commit is contained in:
		
							parent
							
								
									2ab5a1f1c2
								
							
						
					
					
						commit
						7cc067e3a5
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -15,6 +15,11 @@ PKGNAME=$(sh contrib/semver/name.sh)
 | 
				
			||||||
PKGVERSION=$(sh contrib/semver/version.sh | cut -c 2-)
 | 
					PKGVERSION=$(sh contrib/semver/version.sh | cut -c 2-)
 | 
				
			||||||
PKGARCH=${PKGARCH-amd64}
 | 
					PKGARCH=${PKGARCH-amd64}
 | 
				
			||||||
PKGFILE=$PKGNAME-$PKGVERSION-$PKGARCH.deb
 | 
					PKGFILE=$PKGNAME-$PKGVERSION-$PKGARCH.deb
 | 
				
			||||||
 | 
					PKGREPLACES=yggdrasil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ $PKGBRANCH = "master" ]; then
 | 
				
			||||||
 | 
					  PKGREPLACES=yggdrasil-develop
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ $PKGARCH = "amd64" ]; then GOARCH=amd64 GOOS=linux ./build
 | 
					if [ $PKGARCH = "amd64" ]; then GOARCH=amd64 GOOS=linux ./build
 | 
				
			||||||
elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build
 | 
					elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build
 | 
				
			||||||
| 
						 | 
					@ -43,7 +48,7 @@ Version: $PKGVERSION
 | 
				
			||||||
Section: contrib/net
 | 
					Section: contrib/net
 | 
				
			||||||
Priority: extra
 | 
					Priority: extra
 | 
				
			||||||
Architecture: $PKGARCH
 | 
					Architecture: $PKGARCH
 | 
				
			||||||
Replaces: yggdrasil | yggdrasil-develop
 | 
					Replaces: $PKGREPLACES
 | 
				
			||||||
Maintainer: Neil Alexander <neilalexander@users.noreply.github.com>
 | 
					Maintainer: Neil Alexander <neilalexander@users.noreply.github.com>
 | 
				
			||||||
Description: Debian yggdrasil package
 | 
					Description: Debian yggdrasil package
 | 
				
			||||||
 Binary yggdrasil package for Debian and Ubuntu
 | 
					 Binary yggdrasil package for Debian and Ubuntu
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue