Adiciona script gen-gh-pages
parent
d7e30ebb7f
commit
f1b418c15f
|
@ -0,0 +1,28 @@
|
|||
BUILD_DIR="$TRAVIS_BUILD_DIR/gh-pages/"
|
||||
mkdir -p $BUILD_DIR
|
||||
|
||||
cat > $BUILD_DIR/chromium.xml <<EOL
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<app appid='magjmaimhngoidhmklnpihkdjkggbpnp'>
|
||||
<updatecheck codebase='https://github.com/burlesco/burlesco/releases/download/$TRAVIS_TAG/burlesco-chromium.crx' version='${TRAVIS_TAG:1}' />
|
||||
</app>
|
||||
</gupdate>
|
||||
EOL
|
||||
|
||||
|
||||
cat > $BUILD_DIR/firefox.json <<EOL
|
||||
{
|
||||
"addons": {
|
||||
"burlesco@burles.co": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "${TRAVIS_TAG:1}",
|
||||
"update_link": "https://github.com/burlesco/burlesco/releases/download/$TRAVIS_TAG/burlesco-firefox.xpi"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
EOL
|
||||
|
Loading…
Reference in New Issue