mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	Simplify parsing of json using jq built-in features
Saves spawning multiple sed processes.
This commit is contained in:
		 Felix Eckhofer
					Felix Eckhofer
				
			
				
					committed by
					
						 Trenton H
						Trenton H
					
				
			
			
				
	
			
			
			 Trenton H
						Trenton H
					
				
			
						parent
						
							3daee46c3d
						
					
				
				
					commit
					4def3bf5c2
				
			
							
								
								
									
										4
									
								
								.github/workflows/installer-library.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/installer-library.yml
									
									
									
									
										vendored
									
									
								
							| @@ -95,8 +95,8 @@ jobs: | ||||
|         name: Setup other versions | ||||
|         id: cache-bust-setup | ||||
|         run: | | ||||
|           pillow_version=$(jq ".default.pillow.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g') | ||||
|           lxml_version=$(jq ".default.lxml.version" Pipfile.lock | sed 's/=//g' | sed 's/"//g') | ||||
|           pillow_version=$(jq -r '.default.pillow.version | gsub("=";"")' Pipfile.lock) | ||||
|           lxml_version=$(jq -r '.default.lxml.version | gsub("=";"")' Pipfile.lock) | ||||
|  | ||||
|           echo "Pillow is ${pillow_version}" | ||||
|           echo "lxml is ${lxml_version}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user