UPD test and fix zipdepot script

This commit is contained in:
Thomas Kuschel 2024-05-26 01:50:52 +02:00
parent 62b749fe61
commit 0c66b24962
3 changed files with 6 additions and 3 deletions

View File

@ -2,12 +2,12 @@
<extension type="component" method="upgrade"> <extension type="component" method="upgrade">
<name>Depot</name> <name>Depot</name>
<author>KW4NZ</author> <author>KW4NZ</author>
<creationDate>2023-11-19</creationDate> <creationDate>2024-05-26</creationDate>
<copyright>(C) KW4NZ Thomas Kuschel</copyright> <copyright>(C) KW4NZ Thomas Kuschel</copyright>
<license>GPL v2 +; see LICENSE.md</license> <license>GPL v2 +; see LICENSE.md</license>
<authorEmail>thomas@kuschel.at</authorEmail> <authorEmail>thomas@kuschel.at</authorEmail>
<authorUrl>https://kuschel.at</authorUrl> <authorUrl>https://kuschel.at</authorUrl>
<version>0.9.15</version> <version>0.9.17</version>
<description>COM_DEPOT_XML_DESCRIPTION</description> <description>COM_DEPOT_XML_DESCRIPTION</description>
<namespace path="src/">KW4NZ\Component\Depot</namespace> <namespace path="src/">KW4NZ\Component\Depot</namespace>
<install> <!-- Runs on install --> <install> <!-- Runs on install -->

View File

@ -24,9 +24,12 @@ then
minor=$((minor)) minor=$((minor))
newversion="$major.$minor.$patch" newversion="$major.$minor.$patch"
echo "$newversion" echo "$newversion"
printf -v date '%(%Y-%m-%d)T\n' -1
xmllint --shell depot.xml << EOF xmllint --shell depot.xml << EOF
cd extension/version cd extension/version
set $newversion set $newversion
cd /extension/creationDate
set $date
save save
EOF EOF

BIN
zip/depot.zip (Stored with Git LFS)

Binary file not shown.