|
@@ -1,9 +1,16 @@
|
1
|
1
|
@echo off
|
2
|
|
-:=== Parameters ===
|
3
|
2
|
|
|
3
|
+:--- Pull content submodule ---
|
|
4
|
+pushd Contents\Libraries\Shared\content\
|
|
5
|
+git checkout .
|
|
6
|
+git pull
|
|
7
|
+popd
|
|
8
|
+
|
|
9
|
+:=== Parameters ===
|
4
|
10
|
python get_version.py Contents\Code\__init__.py >Contents\VERSION
|
5
|
11
|
set /p ver=<Contents\VERSION
|
6
|
12
|
echo VERSION = %ver%
|
|
13
|
+pause
|
7
|
14
|
|
8
|
15
|
set prog=PlayStream
|
9
|
16
|
set pack_name=PlayStream.bundle
|
|
@@ -24,7 +31,6 @@ for %%f in (
|
24
|
31
|
readme.md
|
25
|
32
|
changelog.md
|
26
|
33
|
Contents\*.*
|
27
|
|
-Contents\Resources\*.*
|
28
|
34
|
Contents\Code\*.py
|
29
|
35
|
Contents\Libraries\Shared\*.py
|
30
|
36
|
Contents\Libraries\Shared\content\__init__.py
|
|
@@ -67,6 +73,7 @@ Contents\Libraries\Shared\content\resolvers\kapnob.py
|
67
|
73
|
Contents\Libraries\Shared\content\resolvers\kodik.py
|
68
|
74
|
Contents\Libraries\Shared\content\resolvers\youtuberesolver.py
|
69
|
75
|
) do echo f| xcopy %%f %pack_name%\%%f
|
|
76
|
+xcopy Contents\Libraries\Shared\content\picons\*.* %pack_name%\Contents\Resources\
|
70
|
77
|
|
71
|
78
|
"%ProgramFiles%\WinRAR\winrar.exe" x -ibck requests.zip *.* %pack_name%\Contents\Libraries\Shared
|
72
|
79
|
|
|
@@ -77,9 +84,10 @@ rem zip -r %release_dir%%pack_name%-%ver%.zip %pack_name%
|
77
|
84
|
git add %release_dir%%pack_name%-%ver%.zip
|
78
|
85
|
if not ()==(%1%) (
|
79
|
86
|
git commit -m %ver%
|
|
87
|
+git tag -d "%ver%"
|
80
|
88
|
git tag %ver%
|
81
|
89
|
git push
|
82
|
|
-)
|
83
|
90
|
|
84
|
91
|
copy %release_dir%%pack_name%-%ver%.zip %feed_dir%%pack_name%\%pack_name%-%ver%.zip /Y
|
|
92
|
+)
|
85
|
93
|
pause
|