Skip to content

A local-first personal finance app

Fix string upload if new changes are present (#4149)

Julian Dominguez-Schatz5921a353401c
diff --git a/.github/workflows/i18n-string-extract-master.yml b/.github/workflows/i18n-string-extract-master.yml
index b12a98931b..484f042d21 100644
--- a/.github/workflows/i18n-string-extract-master.yml
+++ b/.github/workflows/i18n-string-extract-master.yml
@@ -41,7 +41,7 @@ jobs:
wlc \
--url https://hosted.weblate.org/api/ \
--key "${{ secrets.WEBLATE_API_KEY_CI_STRINGS }}" \
- pull \
+ push \
actualbudget/actual
- name: Check out updated translations
uses: actions/checkout@v4
@@ -69,6 +69,13 @@ jobs:
else
echo "No changes to commit"
fi
+ - name: Update Weblate with latest translations
+ run: |
+ wlc \
+ --url https://hosted.weblate.org/api/ \
+ --key "${{ secrets.WEBLATE_API_KEY_CI_STRINGS }}" \
+ pull \
+ actualbudget/actual
- name: Unlock translations
if: always() # Clean up even on failure
diff --git a/upcoming-release-notes/4149.md b/upcoming-release-notes/4149.md
new file mode 100644
index 0000000000..678e93bdb4
--- /dev/null
+++ b/upcoming-release-notes/4149.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [jfdoming]
+---
+
+Fix string upload if new changes are present