Skip to content

Commit

Permalink
Fix the OBS autosubmission (#936)
Browse files Browse the repository at this point in the history
## Problem

- I added the `service/Rakefile` to extract the translations from the
Ruby files
- But I overlooked that there already is a top level `Rakefile` which
includes several adjustments to properly build the package

## Solution

- Use the top level `Rakefile`
  • Loading branch information
lslezak authored Dec 15, 2023
2 parents 3868984 + 1626c24 commit 8e1c1d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/weblate-update-pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,17 @@ jobs:
- name: Generate service POT file
run: |
cd agama/service
cd agama
rake pot
msgfmt --statistics agama.pot
- name: Validate the generated service POT file
run: msgfmt --check-format agama/service/agama.pot
run: msgfmt --check-format agama/agama.pot

- name: Update service POT file
run: |
mkdir -p agama-weblate/service
cp agama/service/agama.pot agama-weblate/service/agama.pot
cp agama/agama.pot agama-weblate/service/agama.pot
# any change besides the timestamp in the POT file?
- name: Check service POT changes
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.log/
.yardoc/
.vscode/tasks.json
/*.pot
9 changes: 0 additions & 9 deletions service/Rakefile

This file was deleted.

0 comments on commit 8e1c1d1

Please sign in to comment.