mirror of
				https://github.com/RetroDECK/RetroDECK.git
				synced 2025-04-10 19:15:12 +00:00 
			
		
		
		
	Updated flathub push script
This commit is contained in:
		
							parent
							
								
									687af79eed
								
							
						
					
					
						commit
						d9bcc43ccd
					
				|  | @ -1,14 +1,19 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| branch="main-"$(date +%d%m%y.%H%M) | ||||
| # EDITABLES: | ||||
| #rd_branch="main" | ||||
| rd_branch="cooker" | ||||
| #gits_folder=~/gits | ||||
| gits_folder="/home/public-folder/gits" # without last / | ||||
| 
 | ||||
| # NON-EDITABLES | ||||
| branch="$rd_branch-"$(date +%d%m%y.%H%M) | ||||
| 
 | ||||
| cd $gits_folder | ||||
| rm -rf flathub | ||||
| git clone --recursive https://github.com/flathub/net.retrodeck.retrodeck.git flathub | ||||
| cd $gits_folder/RetroDECK | ||||
| git checkout main | ||||
| git checkout $rd_branch | ||||
| git submodule init | ||||
| git submodule update | ||||
| # NOTE: the only linked submodules are: rd-submodules/retroarch | ||||
|  | @ -73,5 +78,5 @@ git submodule deinit -f . | |||
| # checkout again | ||||
| git submodule update --init --recursive | ||||
| git add * | ||||
| git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/main" | ||||
| git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch" | ||||
| git push origin $branch | ||||
		Loading…
	
		Reference in a new issue
	
	 XargonWan
						XargonWan