From 02ba3694929154ecdafbe95fa34ad6920680b6b7 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Fri, 30 Apr 2021 14:47:49 +0200 Subject: [PATCH] feat: remove assets from repository (see #4759) (#5133) BREAKING CHANGE: The assets are no longer embedded in source code: javascript, css, font files. Run `yarn install` then `yarn run production` to recreate them from sources, or download a [release file](https://github.com/monicahq/monica/releases) that contains compiled files. BREAKING CHANGE: For Heroku users: You'll have to manually go to `Settings` > `Buildpacks` and add buildpack: `nodejs`. See [this doc](https://github.com/monicahq/monica/blob/master/docs/installation/providers/heroku.md#update-from-2x-to-3x). BREAKING CHANGE: See more information about how to install a Monica instance [here](https://github.com/monicahq/monica/tree/master/docs/installation). --- scripts/update-langs.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 scripts/update-langs.sh diff --git a/scripts/update-langs.sh b/scripts/update-langs.sh deleted file mode 100755 index f6b58a8fb9a..00000000000 --- a/scripts/update-langs.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -l10nbranch=l10n_master3 -newbranch=$(date +"%Y-%m-%d")-update-i18n -origin=origin - -git checkout master - -# Clean -git branch -D $l10nbranch || true -git branch -D $origin/$l10nbranch || true -git branch -D $newbranch || true -git branch -D $origin/$newbranch || true - -# Create new branch -git fetch $origin -git checkout --track $origin/$l10nbranch -git checkout -b $newbranch - -# Merge from master -git merge $origin/master - -# Update the new branch -php artisan lang:generate -git add public/js/langs/*.json -git commit -m "Update jsons" - -# Push it to remote -git push --set-upstream $origin $newbranch - -# Create Pull Request -gh pr create --base master --title "chore(i18n): update translations" --label "auto-squash" --body ""