Skip to content

Commit f8514ea

Browse files
committed
Update packager
Filetype changed to .plasmoid because that's what the file loader is looking for. Take the version number directly from the metadata.
1 parent 48573b5 commit f8514ea

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.zip
2+
*.plasmoid
23
/build/
34
/*.kdev4
45
*~

mkzip

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
METADATA="package/metadata.desktop"
4+
VERSION=$(grep "X-KDE-PluginInfo-Version" $METADATA | sed 's/.*=//')
5+
36
cd package
4-
zip -r ../Luna-II-ver.zip *
7+
zip -r ../Luna-II-${VERSION}.plasmoid *
58
cd ..

0 commit comments

Comments
 (0)