[deploy] fix bug 45991
This commit is contained in:
parent
7f94838c92
commit
58952fcc9a
|
@ -352,19 +352,14 @@ module.exports = function(grunt) {
|
|||
help: {
|
||||
files: packageFile['main']['copy']['help']
|
||||
},
|
||||
'index-page': {
|
||||
files: packageFile['main']['copy']['index-page']
|
||||
indexhtml: {
|
||||
files: packageFile['main']['copy']['indexhtml']
|
||||
}
|
||||
},
|
||||
|
||||
inline: {
|
||||
'index-page': {
|
||||
src: packageFile.main.copy['index-page'][0].dest,
|
||||
dest: packageFile.main.copy['index-page'][0].dest
|
||||
},
|
||||
'old-loader-page': {
|
||||
src: packageFile.main.copy['index-page'][1].dest,
|
||||
dest: packageFile.main.copy['index-page'][1].dest
|
||||
dist: {
|
||||
src: '<%= pkg.main.copy.indexhtml[0].dest %>/*.html'
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -594,7 +589,7 @@ module.exports = function(grunt) {
|
|||
grunt.registerTask('deploy-es6-promise', ['es6-promise-init', 'clean', 'copy']);
|
||||
|
||||
grunt.registerTask('deploy-app-main', ['prebuild-icons-sprite', 'main-app-init', 'clean:prebuild', 'imagemin', 'less',
|
||||
'requirejs', 'concat', 'copy', 'svgmin', 'inline:index-page', 'inline:old-loader-page', 'json-minify',
|
||||
'requirejs', 'concat', 'copy', 'svgmin', 'inline', 'json-minify',
|
||||
'replace:writeVersion', 'replace:prepareHelp', 'clean:postbuild']);
|
||||
|
||||
grunt.registerTask('deploy-app-mobile', ['mobile-app-init', 'clean:deploy', 'cssmin', 'copy:template-backup',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "documenteditor",
|
||||
"version": "4.3.0",
|
||||
"build": 1148,
|
||||
"build": 1149,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
|
@ -172,14 +172,15 @@
|
|||
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/"
|
||||
}
|
||||
],
|
||||
"index-page": [
|
||||
"indexhtml": [
|
||||
{
|
||||
"src": "../apps/documenteditor/main/index.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/documenteditor/main/index.html"
|
||||
},
|
||||
{
|
||||
"src": "../apps/documenteditor/main/index_loader.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/documenteditor/main/index_loader.html"
|
||||
"expand": true,
|
||||
"cwd": "../apps/documenteditor/main",
|
||||
"src": [
|
||||
"*.html.deploy"
|
||||
],
|
||||
"ext": ".html",
|
||||
"dest": "../deploy/web-apps/apps/documenteditor/main"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "presentationeditor",
|
||||
"version": "4.3.0",
|
||||
"build": 782,
|
||||
"build": 790,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
|
@ -166,14 +166,16 @@
|
|||
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/help/"
|
||||
}
|
||||
],
|
||||
"index-page": [
|
||||
"indexhtml": [
|
||||
{
|
||||
"src": "../apps/presentationeditor/main/index.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/presentationeditor/main/index.html"
|
||||
},
|
||||
{
|
||||
"src": "../apps/presentationeditor/main/index_loader.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/presentationeditor/main/index_loader.html"
|
||||
"expand": true,
|
||||
"cwd": "../apps/presentationeditor/main",
|
||||
"src": [
|
||||
"*.html.deploy",
|
||||
"!*.reporter.html.deploy"
|
||||
],
|
||||
"ext": ".html",
|
||||
"dest": "../deploy/web-apps/apps/presentationeditor/main/"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "spreadsheeteditor",
|
||||
"version": "4.3.0",
|
||||
"build": 886,
|
||||
"build": 903,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"main": {
|
||||
|
@ -180,18 +180,15 @@
|
|||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/help/"
|
||||
}
|
||||
],
|
||||
"index-page": [
|
||||
"indexhtml": [
|
||||
{
|
||||
"src": "../apps/spreadsheeteditor/main/index.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index.html"
|
||||
},
|
||||
{
|
||||
"src": "../apps/spreadsheeteditor/main/index_loader.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index_loader.html"
|
||||
},
|
||||
{
|
||||
"src": "../apps/spreadsheeteditor/main/index_internal.html.deploy",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/index_internal.html"
|
||||
"expand": true,
|
||||
"cwd": "../apps/spreadsheeteditor/main",
|
||||
"src": [
|
||||
"*.html.deploy"
|
||||
],
|
||||
"ext": ".html",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue