Keep tarballs in site directory.
This commit is contained in:
parent
56a515c5ea
commit
3ed6b93736
@ -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"
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.1-cli1-0-g10f1001.tar.gz
|
|
BIN
public/site/2013-05/mpw-2.1-cli1-0-g10f1001.tar.gz
Normal file
BIN
public/site/2013-05/mpw-2.1-cli1-0-g10f1001.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.1-cli2-2-g82c96dd.tar.gz
|
|
BIN
public/site/2013-05/mpw-2.1-cli2-2-g82c96dd.tar.gz
Normal file
BIN
public/site/2013-05/mpw-2.1-cli2-2-g82c96dd.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.1-cli3-0-g438daf2.tar.gz
|
|
BIN
public/site/2013-05/mpw-2.1-cli3-0-g438daf2.tar.gz
Normal file
BIN
public/site/2013-05/mpw-2.1-cli3-0-g438daf2.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.1-cli4-0-gf6b2287.tar.gz
|
|
BIN
public/site/2013-05/mpw-2.1-cli4-0-gf6b2287.tar.gz
Normal file
BIN
public/site/2013-05/mpw-2.1-cli4-0-gf6b2287.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.5-cli-1-0-gb01e370f.tar.gz
|
|
BIN
public/site/2013-05/mpw-2.5-cli-1-0-gb01e370f.tar.gz
Normal file
BIN
public/site/2013-05/mpw-2.5-cli-1-0-gb01e370f.tar.gz
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
../../../platform-independent/cli-c/mpw-2.5-cli-1-0-gb01e370f.tar.gz.sig
|
|
BIN
public/site/2013-05/mpw-2.5-cli-1-0-gb01e370f.tar.gz.sig
Normal file
BIN
public/site/2013-05/mpw-2.5-cli-1-0-gb01e370f.tar.gz.sig
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user