2
0

Keep tarballs in site directory.

This commit is contained in:
Maarten Billemont 2017-04-22 12:30:07 -04:00
parent 56a515c5ea
commit 3ed6b93736
7 changed files with 7 additions and 6 deletions

View File

@ -12,7 +12,7 @@ mpwArchive=mpw-$commit.tar.gz
read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort." read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort."
echo "Cleaning .." echo "Cleaning .."
( git clean -fdx . && cd core && git clean -fdx . ) ( git clean -ffdx . && cd core && git clean -ffdx . )
echo "Creating archive $mpwArchive .." echo "Creating archive $mpwArchive .."
git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive" git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive"
@ -22,12 +22,13 @@ gpg --detach-sign "$mpwArchive"
echo "Installing archive and signature in current site .." echo "Installing archive and signature in current site .."
cd ../../public/site/current cd ../../public/site/current
ln -sf "../../../platform-independent/cli-c/$mpwArchive"; [[ -e $_ ]] mv "../../../platform-independent/cli-c/$mpwArchive" .; [[ -e $_ ]]
ln -sf "../../../platform-independent/cli-c/$mpwArchive.sig"; [[ -e $_ ]] mv "../../../platform-independent/cli-c/$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 $_ ]]
echo echo
echo "Done. Don't forget to publish the site." echo "Done. Ready to publish the site."
echo "package: $mpwArchive" echo " package: $mpwArchive"
echo "signature: $mpwArchive.sig" echo " signature: $mpwArchive.sig"
echo " url: https://ssl.masterpasswordapp.com/$mpwArchive"

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.1-cli1-0-g10f1001.tar.gz

Binary file not shown.

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.1-cli2-2-g82c96dd.tar.gz

Binary file not shown.

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.1-cli3-0-g438daf2.tar.gz

Binary file not shown.

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.1-cli4-0-gf6b2287.tar.gz

Binary file not shown.

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.5-cli-1-0-gb01e370f.tar.gz

Binary file not shown.

View File

@ -1 +0,0 @@
../../../platform-independent/cli-c/mpw-2.5-cli-1-0-gb01e370f.tar.gz.sig