2
0

Make site available under public/site

This commit is contained in:
Maarten Billemont 2018-04-22 08:54:25 -04:00
parent d38dba7272
commit 344771dbdf
3 changed files with 12 additions and 5 deletions

6
.gitmodules vendored
View File

@ -25,3 +25,9 @@
[submodule "platform-darwin/External/libjson-c"] [submodule "platform-darwin/External/libjson-c"]
path = platform-darwin/External/libjson-c path = platform-darwin/External/libjson-c
url = https://github.com/lhunath/json-c.git 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

View File

@ -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" { git ls-files -z .; printf '%s\0' VERSION TAG; } | xargs -0 tar -Lcvzf "$mpwArchive"
echo "Creating archive signature $mpwArchive.sig .." 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 .." echo "Installing archive and signature in site .."
cd ../../public/site/current cd ../../public/site
mv "../../../platform-independent/cli-c/$mpwArchive" .; [[ -e $_ ]] mv "$OLDPWD/$mpwArchive" .; [[ -e $_ ]]
mv "../../../platform-independent/cli-c/$mpwArchive.sig" .; [[ -e $_ ]] mv "$OLDPWD/$mpwArchive.sig" .; [[ -e $_ ]]
ln -sf "$mpwArchive" "masterpassword-cli.tar.gz"; [[ -e $_ ]] ln -sf "$mpwArchive" "masterpassword-cli.tar.gz"; [[ -e $_ ]]
ln -sf "$mpwArchive.sig" "masterpassword-cli.tar.gz.sig"; [[ -e $_ ]] ln -sf "$mpwArchive.sig" "masterpassword-cli.tar.gz.sig"; [[ -e $_ ]]

1
public/site Submodule

@ -0,0 +1 @@
Subproject commit b059ce7853338abdcb8501e450ec5746c4b837b6