mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #1053 add themes {modus, elegant, smartpocket} in release build
This commit is contained in:
+19
-3
@@ -79,11 +79,27 @@ done
|
||||
# | themes |
|
||||
# +--------------------------------------------------------------------------+
|
||||
|
||||
cd /tmp/$version/piwigo/themes
|
||||
for themefile in $(ls */themeconf.inc.php)
|
||||
for theme in modus elegant smartpocket
|
||||
do
|
||||
cd /tmp/$version/piwigo/themes
|
||||
|
||||
git_url=https://github.com/Piwigo/piwigo-${theme}.git
|
||||
|
||||
# clone repo
|
||||
git clone $git_url $theme
|
||||
|
||||
# enter theme directory for next actions
|
||||
cd $theme
|
||||
|
||||
# change version
|
||||
perl $scriptdir/replace_version.pl --file=$themefile --version=$version
|
||||
perl $scriptdir/replace_version.pl --file=themeconf.inc.php --version=$version
|
||||
|
||||
# register metadata in dedicated file
|
||||
echo $git_url > pem_metadata.txt
|
||||
git log -n 1 --pretty=format:"%H %ad" --date=iso8601 >> pem_metadata.txt
|
||||
|
||||
# remove Git metadata
|
||||
rm -rf .git
|
||||
done
|
||||
|
||||
# +--------------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user