diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac7615d1..3e0dc2a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,8 +23,9 @@ jobs: run: npm run validate - name: Write version run: npm run version + # build the inline version before release version - name: Build - run: npm run build:release + run: npm run build:inline && npm run build:release - name: Set git config run: | diff --git a/build/webpack.base.config.js b/build/webpack.base.config.js index cdd76e53..8dad89db 100644 --- a/build/webpack.base.config.js +++ b/build/webpack.base.config.js @@ -107,7 +107,12 @@ module.exports = { }, plugins: [ new CleanWebpackPlugin({ - cleanOnceBeforeBuildPatterns: ['**/*', '!version.js'], + cleanOnceBeforeBuildPatterns: [ + '**/*', + '!version.js', + '!ParaViewGlance.html', + '!glance-external-*', + ], }), new VueLoaderPlugin(), new VuetifyLoaderPlugin(),