mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 04:43:25 +00:00 
			
		
		
		
	Update build.sh
Match change in upstream location of LicensingService.cs Signed-off-by: Joseph Gigantino <128943406+Jgigantino31@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									f3e36ab404
								
							
						
					
					
						commit
						ff33035ac2
					
				
							
								
								
									
										2
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								build.sh
									
									
									
									
									
								
							|  | @ -16,7 +16,7 @@ git clone --branch "v${BW_VERSION}" --depth 1 https://github.com/bitwarden/serve | ||||||
| # Replace certificate file and thumbprint | # Replace certificate file and thumbprint | ||||||
| old_thumbprint=$(openssl x509 -inform DER -fingerprint -noout -in $DIR/server/src/Core/licensing.cer | cut -d= -f2 | tr -d ':') | old_thumbprint=$(openssl x509 -inform DER -fingerprint -noout -in $DIR/server/src/Core/licensing.cer | cut -d= -f2 | tr -d ':') | ||||||
| new_thumbprint=$(openssl x509 -inform DER -fingerprint -noout -in $DIR/.keys/cert.cert | cut -d= -f2 | tr -d ':') | new_thumbprint=$(openssl x509 -inform DER -fingerprint -noout -in $DIR/.keys/cert.cert | cut -d= -f2 | tr -d ':') | ||||||
| sed -i -e "s/$old_thumbprint/$new_thumbprint/g" $DIR/server/src/Core/Services/Implementations/LicensingService.cs | sed -i -e "s/$old_thumbprint/$new_thumbprint/g" $DIR/server/src/Core/Billing/Services/Implementations/LicensingService.cs | ||||||
| cp $DIR/.keys/cert.cert $DIR/server/src/Core/licensing.cer | cp $DIR/.keys/cert.cert $DIR/server/src/Core/licensing.cer | ||||||
| 
 | 
 | ||||||
| docker build --no-cache --label com.bitwarden.product="bitbetter" $DIR/server -f $DIR/server/src/Api/Dockerfile -t bitbetter/api | docker build --no-cache --label com.bitwarden.product="bitbetter" $DIR/server -f $DIR/server/src/Api/Dockerfile -t bitbetter/api | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user