mirror of
				https://github.com/RetroDECK/RetroDECK.git
				synced 2025-04-10 19:15:12 +00:00 
			
		
		
		
	More automation troubleshooting
This commit is contained in:
		
							parent
							
								
									b3e750cb86
								
							
						
					
					
						commit
						ecd782c1bd
					
				|  | @ -1 +1,3 @@ | |||
| https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHAPLACEHOLDER | ||||
| # The proper format for this file is | ||||
| # URL^PLACEHOLDERTEXT | ||||
| https://buildbot.libretro.com/assets/cores/DOOM/Doom%20%28Shareware%29.zip^DOOMSHA | ||||
|  | @ -5,7 +5,6 @@ | |||
| 
 | ||||
| rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml | ||||
| sha_update_list=${GITHUB_WORKSPACE}/automation_tools/sha_update_list.cfg | ||||
| counter=5 | ||||
| 
 | ||||
| echo "Manifest location: $rd_manifest" | ||||
| echo "Hash update list location: $sha_update_list" | ||||
|  | @ -14,12 +13,6 @@ echo "Update list contents:" | |||
| cat "$sha_update_list" | ||||
| echo | ||||
| 
 | ||||
| while [ $counter -gt 0 ] | ||||
| do | ||||
|   echo $counter | ||||
|   counter=$(( $counter - 1 )) | ||||
| done | ||||
| 
 | ||||
| while IFS="^" read -r url placeholder | ||||
| do | ||||
|   echo | ||||
|  | @ -27,5 +20,6 @@ do | |||
|   echo "URL to hash: $url" | ||||
|   echo | ||||
|   hash=$(curl -sL "$url" | sha256sum | cut -d ' ' -f1) | ||||
|   echo "Hash found: $hash" | ||||
|   sed -i 's^'"$placeholder"'^'"$hash"'^' $rd_manifest | ||||
| done < <(cat "$sha_update_list") | ||||
| done < "$sha_update_list" | ||||
		Loading…
	
		Reference in a new issue
	
	 icenine451
						icenine451