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).
This commit is contained in:
@@ -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 ""
|
||||
Reference in New Issue
Block a user