File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 55
55
</provides >
56
56
<translation type =" gettext" >minetest</translation >
57
57
<update_contact >sfan5@live.de</update_contact >
58
+ <releases >
59
+ <release date =" 2018-06-10" version =" 0.4.17.1" />
60
+ </releases >
58
61
</component >
Original file line number Diff line number Diff line change @@ -17,14 +17,21 @@ prompt_for_number() {
17
17
# On a release the following actions are performed
18
18
# * DEVELOPMENT_BUILD is set to false
19
19
# * android versionCode is bumped
20
+ # * appdata release version and date are updated
20
21
# * Commit the changes
21
22
# * Tag with current version
22
23
perform_release () {
23
24
sed -i -re " s/^set\(DEVELOPMENT_BUILD TRUE\)$/set(DEVELOPMENT_BUILD FALSE)/" CMakeLists.txt
24
25
25
26
sed -i -re " s/versionCode [0-9]+$/versionCode $NEW_ANDROID_VERSION_CODE /" build/android/build.gradle
26
27
27
- git add -f CMakeLists.txt build/android/build.gradle
28
+ sed -i ' /\<release/s/\(version\)="[^"]*"/\1="' " $RELEASE_VERSION " ' "/' misc/net.minetest.minetest.appdata.xml
29
+
30
+ RELEASE_DATE=` date +%Y-%m-%d`
31
+
32
+ sed -i ' s/\(<release date\)="[^"]*"/\1="' " $RELEASE_DATE " ' "/' misc/net.minetest.minetest.appdata.xml
33
+
34
+ git add -f CMakeLists.txt build/android/build.gradle misc/net.minetest.minetest.appdata.xml
28
35
29
36
git commit -m " Bump version to $RELEASE_VERSION "
30
37
@@ -128,4 +135,3 @@ echo "New version: $NEXT_VERSION"
128
135
# #######################
129
136
130
137
back_to_devel
131
-
You can’t perform that action at this time.
0 commit comments