Skip to content
Snippets Groups Projects
Unverified Commit 08535e56 authored by Chocobozzz's avatar Chocobozzz
Browse files

Prepare release script

parent 15f25480
No related branches found
No related tags found
No related merge requests found
......@@ -20,3 +20,4 @@
/dist
/.idea
/PeerTube.iml
peertube.zip
......@@ -160,14 +160,13 @@ module.exports = function (env) {
uglifyOptions: {
ie8: false,
ecma: 6,
warnings: true,
warnings: false,
mangle: true,
output: {
comments: false,
beautify: false
}
},
warningsFilter: () => false
}
}),
/**
......
......@@ -45,7 +45,8 @@
"nodemon": "nodemon",
"ts-node": "ts-node",
"tslint": "tslint",
"travis": "scripty"
"travis": "scripty",
"release": "scripty"
},
"dependencies": {
"async": "^2.0.0",
......
#!/bin/bash
npm run build
npm test
cd ../ || exit -1
zip -r PeerTube/peertube.zip PeerTube/{CREDITS.md,node_modules,FAQ.md,LICENSE,README.md,client/dist/,client/yarn.lock,client/package.json,config,dist,package.json,scripts,support,tsconfig.json,yarn.lock}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment