Skip to content

Commit

Permalink
fix: Now to get the zip file into the release, with a better name.
Browse files Browse the repository at this point in the history
  • Loading branch information
xdy committed Jun 29, 2020
1 parent 0f88e3a commit 44b9a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": ["dist/system.json", "dist/twodsix.bundle.js.zip"],
"assets": ["dist/system.json", "dist/twodsix.zip"],
}]
],
"preset": "angular"
Expand Down
7 changes: 3 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ module.exports = (env, argv) => {
},
plugins: [
new CopyWebpackPlugin([
{ from: 'static', destination:'dist' }
{from: 'static', destination: 'dist'}
], {
writeToDisk: true
}),
new WriteFilePlugin(),
new ZipPlugin(),
new MiniCssExtractPlugin({
filename: 'src/scss/twodsix.scss'
})
}),
new ZipPlugin({"filename": "twodsix.zip"})
],
resolve: {
extensions: ['.tsx', '.ts', '.js']
Expand All @@ -69,7 +69,6 @@ module.exports = (env, argv) => {
};



if (argv.mode === 'production') {
} else {
const foundryConfig = getFoundryConfig();
Expand Down

0 comments on commit 44b9a5d

Please sign in to comment.