Make site available under public/site
This commit is contained in:
		
							
								
								
									
										6
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -25,3 +25,9 @@
 | 
			
		||||
[submodule "platform-darwin/External/libjson-c"]
 | 
			
		||||
	path = platform-darwin/External/libjson-c
 | 
			
		||||
	url = https://github.com/lhunath/json-c.git
 | 
			
		||||
[submodule "public/site"]
 | 
			
		||||
	path = public/site
 | 
			
		||||
	url = https://github.com/Lyndir/MasterPassword.git
 | 
			
		||||
	branch = gh-pages
 | 
			
		||||
	shallow = true
 | 
			
		||||
	update = none
 | 
			
		||||
 
 | 
			
		||||
@@ -19,12 +19,12 @@ git show --show-signature --pretty=format:%H --quiet "$tag" > TAG
 | 
			
		||||
{ git ls-files -z .; printf '%s\0' VERSION TAG; } | xargs -0 tar -Lcvzf "$mpwArchive"
 | 
			
		||||
 | 
			
		||||
echo "Creating archive signature $mpwArchive.sig .."
 | 
			
		||||
gpg --detach-sign "$mpwArchive"
 | 
			
		||||
gpg --detach-sign --local-user 5C2D1D61853F20F2FCDDCCB70EF21226F43EA6BC "$mpwArchive"
 | 
			
		||||
 | 
			
		||||
echo "Installing archive and signature in current site .."
 | 
			
		||||
cd ../../public/site/current
 | 
			
		||||
mv "../../../platform-independent/cli-c/$mpwArchive" .; [[ -e $_ ]]
 | 
			
		||||
mv "../../../platform-independent/cli-c/$mpwArchive.sig" .; [[ -e $_ ]]
 | 
			
		||||
echo "Installing archive and signature in site .."
 | 
			
		||||
cd ../../public/site
 | 
			
		||||
mv "$OLDPWD/$mpwArchive" .; [[ -e $_ ]]
 | 
			
		||||
mv "$OLDPWD/$mpwArchive.sig" .; [[ -e $_ ]]
 | 
			
		||||
ln -sf "$mpwArchive" "masterpassword-cli.tar.gz"; [[ -e $_ ]]
 | 
			
		||||
ln -sf "$mpwArchive.sig" "masterpassword-cli.tar.gz.sig"; [[ -e $_ ]]
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								public/site
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								public/site
									
									
									
									
									
										Submodule
									
								
							 Submodule public/site added at b059ce7853
									
								
							
		Reference in New Issue
	
	Block a user