diff --git a/.gitmodules b/.gitmodules index 82b42e3d..8181780d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/platform-independent/cli-c/distribute b/platform-independent/cli-c/distribute index fff64e42..303db5ef 100755 --- a/platform-independent/cli-c/distribute +++ b/platform-independent/cli-c/distribute @@ -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 $_ ]] diff --git a/public/site b/public/site new file mode 160000 index 00000000..b059ce78 --- /dev/null +++ b/public/site @@ -0,0 +1 @@ +Subproject commit b059ce7853338abdcb8501e450ec5746c4b837b6