Skip to content

Commit

Permalink
Merge branch 'develop' into 17191-onboarding-unit-tests-metametrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang authored Apr 3, 2023
2 parents a50ba9d + 1e079e9 commit 1a960b4
Show file tree
Hide file tree
Showing 192 changed files with 2,964 additions and 1,872 deletions.
17 changes: 3 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1097,12 +1097,6 @@ jobs:
- checkout
- attach_workspace:
at: .
- run:
name: Move beta build to dist
command: mv ./dist-beta ./dist
- run:
name: Move beta zips to builds
command: mv ./builds-beta ./builds
- run:
name: Validate source maps
command: |
Expand Down Expand Up @@ -1157,14 +1151,9 @@ jobs:
- attach_workspace:
at: .
- run:
name: Move beta build to dist
command: mv ./dist-beta ./dist
- run:
name: Move beta zips to builds
command: mv ./builds-beta ./builds
- run:
name: test:mozilla-lint
command: NODE_OPTIONS=--max_old_space_size=3072 yarn mozilla-lint
name: Lint beta for firefox
command: |
.circleci/scripts/mozilla-lint-beta.sh
test-mozilla-lint-desktop:
executor: node-browsers
Expand Down
27 changes: 27 additions & 0 deletions .circleci/scripts/mozilla-lint-beta.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

current_commit_msg=$(git show -s --format='%s' HEAD)

if [[ $current_commit_msg =~ Version[[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+[-]beta.[[:digit:]]) ]]
then
# filter the commit message like Version v10.24.1-beta.1
printf '%s\n' "Linting beta builds for firefox"
# Move beta build to dist
mv ./dist-beta ./dist
# Move beta zips to builds
mv ./builds-beta ./builds
# test:mozilla-lint
export NODE_OPTIONS='--max_old_space_size=3072'
yarn mozilla-lint
else
printf '%s\n' 'Commit message does not match commit message for beta pattern; skipping linting for firefox'
mkdir dist
mkdir builds
exit 0
fi

exit 0
Empty file modified .circleci/scripts/validate-changelog-in-rc.sh
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions .circleci/scripts/validate-source-maps-beta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ current_commit_msg=$(git show -s --format='%s' HEAD)
if [[ $current_commit_msg =~ Version[[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+[-]beta.[[:digit:]]) ]]
then
# filter the commit message like Version v10.24.1-beta.1
mv ./dist-beta ./dist
mv ./builds-beta ./builds
printf '%s\n' "Validate source maps with beta version $current_commit_msg"
yarn validate-source-maps
else
Expand Down
7 changes: 2 additions & 5 deletions app/_locales/de/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/el/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 18 additions & 10 deletions app/_locales/en/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/es/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/fr/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/hi/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/id/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/ja/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/ko/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/pt/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/ru/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions app/_locales/tl/messages.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1a960b4

Please sign in to comment.