Raymond Hill
5 years ago
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with
15 additions and
3 deletions
-
.travis.yml
-
tools/make-chromium.sh
-
tools/make-firefox.sh
|
@ -3,13 +3,13 @@ env: |
|
|
matrix: |
|
|
matrix: |
|
|
- BROWSER=chromium EXT=zip |
|
|
- BROWSER=chromium EXT=zip |
|
|
- BROWSER=firefox EXT=xpi |
|
|
- BROWSER=firefox EXT=xpi |
|
|
script: ./tools/make-${BROWSER}.sh all |
|
|
|
|
|
|
|
|
script: "./tools/make-${BROWSER}.sh ${TRAVIS_TAG}" |
|
|
deploy: |
|
|
deploy: |
|
|
provider: releases |
|
|
provider: releases |
|
|
prerelease: true |
|
|
prerelease: true |
|
|
api_key: |
|
|
api_key: |
|
|
secure: eQgPAHH6PKu2dLK+NafxwLl66t0cyW5x5NZFquOwsNMal5nsfof7lyXj2F0Q0vUpGeI21MOipBI8UGv5oXPoiXnr0fhEbEBz65C9vypK61WkDCQVGVeZVNGQwSXUm6gD2EzpPgTCIs52+7dKCDJ3stXzdimOiOTYs4WMNKKarFM= |
|
|
secure: eQgPAHH6PKu2dLK+NafxwLl66t0cyW5x5NZFquOwsNMal5nsfof7lyXj2F0Q0vUpGeI21MOipBI8UGv5oXPoiXnr0fhEbEBz65C9vypK61WkDCQVGVeZVNGQwSXUm6gD2EzpPgTCIs52+7dKCDJ3stXzdimOiOTYs4WMNKKarFM= |
|
|
file: dist/build/uMatrix.${BROWSER}.${EXT} |
|
|
|
|
|
|
|
|
file: dist/build/uMatrix_${TRAVIS_TAG}.${BROWSER}.${EXT} |
|
|
skip_cleanup: true |
|
|
skip_cleanup: true |
|
|
on: |
|
|
on: |
|
|
repo: gorhill/uMatrix |
|
|
repo: gorhill/uMatrix |
|
|
|
@ -26,6 +26,11 @@ if [ "$1" = all ]; then |
|
|
pushd $(dirname $DES/) |
|
|
pushd $(dirname $DES/) |
|
|
zip uMatrix.chromium.zip -qr $(basename $DES/)/* |
|
|
zip uMatrix.chromium.zip -qr $(basename $DES/)/* |
|
|
popd |
|
|
popd |
|
|
|
|
|
elif [ -n "$1" ]; then |
|
|
|
|
|
echo "*** uMatrix.chromium: Creating versioned package..." |
|
|
|
|
|
pushd $(dirname $DES/) > /dev/null |
|
|
|
|
|
zip uMatrix_"$1".chromium.zip -qr $(basename $DES/)/* |
|
|
|
|
|
popd > /dev/null |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "*** uMatrix(Chromium): Package done." |
|
|
echo "*** uMatrix(Chromium): Package done." |
|
@ -5,7 +5,8 @@ |
|
|
echo "*** uMatrix.firefox: Creating web store package" |
|
|
echo "*** uMatrix.firefox: Creating web store package" |
|
|
echo "*** uMatrix.firefox: Copying files" |
|
|
echo "*** uMatrix.firefox: Copying files" |
|
|
|
|
|
|
|
|
DES=dist/build/uMatrix.firefox |
|
|
|
|
|
|
|
|
BLDIR=dist/build |
|
|
|
|
|
DES="$BLDIR"/uMatrix.firefox |
|
|
rm -rf $DES |
|
|
rm -rf $DES |
|
|
mkdir -p $DES |
|
|
mkdir -p $DES |
|
|
|
|
|
|
|
@ -27,6 +28,12 @@ if [ "$1" = all ]; then |
|
|
pushd $DES > /dev/null |
|
|
pushd $DES > /dev/null |
|
|
zip ../$(basename $DES).xpi -qr * |
|
|
zip ../$(basename $DES).xpi -qr * |
|
|
popd > /dev/null |
|
|
popd > /dev/null |
|
|
|
|
|
elif [ -n "$1" ]; then |
|
|
|
|
|
echo "*** uMatrix.firefox: Creating versioned package..." |
|
|
|
|
|
pushd $DES > /dev/null |
|
|
|
|
|
zip ../$(basename $DES).xpi -qr * |
|
|
|
|
|
popd > /dev/null |
|
|
|
|
|
mv "$BLDIR"/uMatrix.firefox.xpi "$BLDIR"/uMatrix_"$1".firefox.xpi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "*** uMatrix.firefox: Package done." |
|
|
echo "*** uMatrix.firefox: Package done." |