Browse Source

version bump, fix docker tags and add optional docker push automation

master
Maff 4 months ago
parent
commit
8b38e7e454
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      generate-patch.sh

+ 3
- 2
generate-patch.sh View File

@@ -1,5 +1,5 @@
#!/bin/sh
MASTODON_VERSION="2.8.0"
MASTODON_VERSION="2.9.3"
git clone https://git.maff.scot/mirrors/mastodon untainted
cd untainted
git fetch --all --tags
@@ -16,5 +16,6 @@ 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/
docker build --build-arg MASTODON_VERSION=$MASTODON_VERSION -t maffsie/qp-mastodon:latest -t maffsie/qp-mastodon:v$MASTODON_VERSION deploy/
rm -rf deploy/queer.party.patch deploy/pressstart2p
if [ -f ~/.docker/config.json ]; then docker push maffsie/qp-mastodon:v$MASTODON_VERSION;docker push maffsie/qp-mastodon:latest; fi

Loading…
Cancel
Save