Browse Source

fixed patch script again

master
mastodon 1 year ago
parent
commit
2b4fbcbc91
1 changed files with 4 additions and 2 deletions
  1. 6
      generate-patch.sh

6
generate-patch.sh

@ -11,8 +11,10 @@ git clone https://github.com/meemudotorg/theemu modifications/theemu
rsync -av --files-from modifications/theemu/meemu-theme.txt modifications/theemu tainted
cp -pr untainted/app/javascript/mastodon/locales/en.json tainted/app/javascript/mastodon/locales/en.json
cp -pr untainted/config/locales/en.yml tainted/config/locales/en.yml
mv assets/themes.yml tainted/config/themes.yml
cp -pr assets/themes.yml tainted/config/themes.yml
cp -pr assets/source.rb tainted/config/initializers/source.rb
mv tainted/app/javascript/fonts/pressstart2p deploy/
diff -ruN untainted tainted > deploy/queer.party.patch
rm -rf untainted tainted modifications
docker build --build-arg MASTODON_VERSION=$MASTODON_VERSION -t queerparty/mastodon:v$MASTODON_VERSION deploy/
rm -rf untainted tainted modifications deploy/queer.party.patch deploy/pressstart2p
rm -rf deploy/queer.party.patch deploy/pressstart2p
Loading…
Cancel
Save