-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathzip_plugin.sh
More file actions
executable file
·50 lines (39 loc) · 1.19 KB
/
Copy pathzip_plugin.sh
File metadata and controls
executable file
·50 lines (39 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh -eV
# Translate
/Volumes/mac/App/QGIS-LTR.app/Contents/MacOS/bin/pylupdate -noobsolete i18n/jpdata.pro
/Volumes/mac/App/QGIS-LTR.app/Contents/MacOS/bin/pylupdate i18n.py -ts i18n/jpdata_ja.ts
open -a "/Volumes/mac/App/QGIS-LTR.app/Contents/Resources/python/site-packages/qt5_applications/Qt/bin/Linguist.app"
# Version
perl -pi -e "s|version=0.7.0|version=0.7.1|g" metadata.txt
git add .
git commit -m "Version 0.7.1"
git push origin main
git tag -a v0.7.1 -m 'version 0.7.1'
git push origin v0.7.1
# Create ZIP
mkdir ../qgis_plugins
cd ../qgis_plugins
rm -rf jpdata
rm -f jpdata.zip
cp -R ../jpdata ./jpdata
perl -pi -e "s|self._verbose = True|self._verbose = False|g" jpdata/manager.py
rm -rf jpdata/docs
rm -rf jpdata/temp
rm -f jpdata/.gitignore
rm -rf jpdata/__pycache__
rm -rf jpdata/.git
rm -f jpdata/i18n.sh
rm -f jpdata/CITATION.cff
rm -f jpdata/zip_plugin.sh
rm -f jpdata/README.md
rm -f jpdata/i18n/jpdata_ja.ts
rm -f jpdata/i18n/jpdata.pro
rm -rf jpdata/help
rm -rf jpdata/helper_script
rm -f jpdata/pylintrc
rm -f jpdata/qml/G04-a-2011-20250219.qml
rm -f jpdata/csv/*.py
zip -rX jpdata.zip jpdata
zip -d jpdata.zip .git/\*
zip -d jpdata.zip __MACOSX/\*
zip -d jpdata.zip \*/.DS_Store