Commit 2d4e3a4f authored by Benoit Lavenier's avatar Benoit Lavenier

deployment: rename zip of the web build

parent 583db0d9
......@@ -52,7 +52,7 @@ case "$1" in
### Sending files
echo "Uploading files to GitHub... to $upload_url"
dirname=`pwd`
curl -i -u $2 -H 'Content-Type: application/zip' -T $dirname/platforms/web/build/gchange-web-$current.zip $upload_url?name=gchange-v$current-web.zip
curl -i -u $2 -H 'Content-Type: application/zip' -T $dirname/platforms/web/build/gchange-v$current-web.zip $upload_url?name=gchange-v$current-web.zip
#curl -i -u $2 -H 'Content-Type: application/zip' -T $dirname/platforms/firefoxos/build/package.zip $upload_url?name=gchange-v$current-firefoxos.zip
curl -i -u $2 -H 'Content-Type: application/vnd.android.package-archive' -T $dirname/platforms/android/build/outputs/apk/android-release.apk $upload_url?name=gchange-v$current-android.apk
#curl -i -u $2 -H 'Content-Type: application/x-debian-package' -T $dirname/platforms/ubuntu/native/gchange_${current}_amd64.deb $upload_url?name=gchange-v${current}-ubuntu-amd64.deb
......
......@@ -469,14 +469,14 @@ gulp.task('zip:web', ['clean-unused-directories:web'], function() {
.pipe(header('\ufeff'))
.pipe(txtFilter.restore)
.pipe(zip('gchange-web-'+version+'.zip'))
.pipe(zip('gchange-v'+version+'-web.zip'))
.pipe(gulp.dest('./platforms/web/build'));
});
gulp.task('build:web', ['git-check', 'zip:web'], function() {
var version = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version;
gutil.log(gutil.colors.green("Build for web created at: 'plateforms/web/build/gchange-web-" + version + ".zip'"));
gutil.log(gutil.colors.green("Build for web created at: 'plateforms/web/build/gchange-v" + version + "-web.zip'"));
return del(['./tmp']);
});
......@@ -2,7 +2,7 @@
"short_name": "ğchange",
"name": "ğchange",
"manifest_version": 2,
"version": "0.5.7",
"version": "0.6.0",
"default_locale": "fr",
"description": "A market place for Ğ1 libre currency",
"icons": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment