Skip to content
Permalink
Browse files

fixes #1053 add themes {modus, elegant, smartpocket} in release build

  • Loading branch information...
plegall committed Aug 6, 2019
1 parent 54154eb commit bc0b49cdadf8ab2088623425bcbde96d59b7c73c
Showing with 19 additions and 3 deletions.
  1. +19 −3 tools/pwg_rel_create.sh
@@ -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

# +--------------------------------------------------------------------------+

0 comments on commit bc0b49c

Please sign in to comment.
You can’t perform that action at this time.