Skip to content

Commit 0e84f28

Browse files
committed
upd
1 parent b06f9ca commit 0e84f28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/sync_to_weblate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
2424
- name: Sync English directories from main branch
2525
run: |
26-
DIRECTORIES=("app/src/main/res/values" "fastlane/metadata/android/en-US")
26+
DIRECTORIES=("app/src/main/res/values/strings.xml" "fastlane/metadata/android/en-US")
2727
MAIN_BRANCH="beta"
2828
WEBLATE_BRANCH="weblate"
2929
REMOTE="origin"
30-
30+
MAIN_HASH=$(git rev-parse $MAIN_BRANCH)
3131
git checkout $REMOTE/$MAIN_BRANCH -- "${DIRECTORIES[@]}"
3232
if ! git diff --quiet HEAD -- "${DIRECTORIES[@]}"; then
3333
git add "${DIRECTORIES[@]}"
34-
git commit -m "Sync English directories from $MAIN_BRANCH"
34+
git commit -m "Sync English directories from $MAIN_HASH"
3535
git push $REMOTE $WEBLATE_BRANCH
3636
fi
3737

0 commit comments

Comments
 (0)