[develop]: Add *.zip in gitignore file and set release zip name to version.zip
This commit is contained in:
parent
f7302ff615
commit
b00ab858c2
|
@ -3,3 +3,4 @@ node_modules/
|
||||||
dist/
|
dist/
|
||||||
.idea/
|
.idea/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
*.zip
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
rm -f release.zip
|
rm -f v*.zip
|
||||||
git clone https://code-repo.d4science.org/MaDgIK/irish-monitor.git
|
git clone https://code-repo.d4science.org/MaDgIK/irish-monitor.git
|
||||||
cd irish-monitor
|
cd irish-monitor
|
||||||
git checkout master
|
git checkout master
|
||||||
|
@ -12,5 +12,6 @@ git checkout master
|
||||||
cd ../../../
|
cd ../../../
|
||||||
npm run after-build-clean
|
npm run after-build-clean
|
||||||
cd ../
|
cd ../
|
||||||
zip -r release.zip irish-monitor
|
version=$(npm pkg get version | xargs)
|
||||||
|
zip -r v$version.zip irish-monitor
|
||||||
rm -rf irish-monitor
|
rm -rf irish-monitor
|
||||||
|
|
Loading…
Reference in New Issue