Browse Source

update release script

tags/1.4.1
Etienne Trimaille 3 years ago
parent
commit
9b22e996fa
1 changed files with 12 additions and 10 deletions
  1. 12
    10
      release.sh

+ 12
- 10
release.sh View File

@@ -4,22 +4,24 @@ echo "Make a zip"
4 4
 cp -R QuickOSM/ QuickOSM_back/
5 5
 rm QuickOSM.zip
6 6
 cd QuickOSM/
7
-git clean
8
-git reset --HARD HEAD
7
+git clean -f
8
+git reset --hard HEAD
9 9
 make clean_pyc
10 10
 find . -name "*.ui" -type f -delete
11 11
 find . -name "*.qrc" -type f -delete
12 12
 find . -name "*.ts" -type f -delete
13
-find . -name "test" -type f -delete
13
+find . -depth -name 'test' -type d -exec rm -rf '{}' \;
14 14
 rm -rf .git
15 15
 rm -rf .idea
16
-rm .gitignore
17
-rm Makefile
18
-rm QuickOSM.pro
19
-rm README.md
20
-rm release.sh
21
-rm .travis.yml
22
-rm .coverage
16
+rm -f .gitignore
17
+rm -f Makefile
18
+rm -f QuickOSM.pro
19
+rm -f README.md
20
+rm -f release.sh
21
+rm -f .travis.yml
22
+rm -f .coverage
23
+rm pylintrc
24
+rm run-env-linux.sh
23 25
 
24 26
 cd ..
25 27
 zip -r QuickOSM QuickOSM/

Loading…
Cancel
Save