mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-08 00:01:28 +01:00
Fix working directory bug (#2769)
This commit is contained in:
parent
dac02ed11d
commit
6b51b95d39
40
.github/workflows/release-browser.yml
vendored
40
.github/workflows/release-browser.yml
vendored
@ -17,7 +17,6 @@ on:
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: apps/browser
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
@ -67,27 +66,28 @@ jobs:
|
||||
|
||||
- name: Testing locales - extName length
|
||||
run: |
|
||||
found_error=false
|
||||
found_error=false
|
||||
|
||||
echo "Locales Test"
|
||||
echo "============"
|
||||
echo "extName string must be 40 characters or less"
|
||||
echo
|
||||
for locale in $(ls src/_locales/); do
|
||||
string_length=$(jq '.extName.message | length' src/_locales/$locale/messages.json)
|
||||
if [[ $string_length -gt 40 ]]; then
|
||||
echo "$locale: $string_length"
|
||||
found_error=true
|
||||
fi
|
||||
done
|
||||
echo "Locales Test"
|
||||
echo "============"
|
||||
echo "extName string must be 40 characters or less"
|
||||
echo
|
||||
for locale in $(ls src/_locales/); do
|
||||
string_length=$(jq '.extName.message | length' src/_locales/$locale/messages.json)
|
||||
if [[ $string_length -gt 40 ]]; then
|
||||
echo "$locale: $string_length"
|
||||
found_error=true
|
||||
fi
|
||||
done
|
||||
|
||||
if $found_error; then
|
||||
echo
|
||||
echo "Please fix 'extName' for the locales listed above."
|
||||
exit 1
|
||||
else
|
||||
echo "Test passed!"
|
||||
fi
|
||||
if $found_error; then
|
||||
echo
|
||||
echo "Please fix 'extName' for the locales listed above."
|
||||
exit 1
|
||||
else
|
||||
echo "Test passed!"
|
||||
fi
|
||||
working-directory: apps/browser
|
||||
|
||||
|
||||
release:
|
||||
|
Loading…
Reference in New Issue
Block a user