From 1626c247f84fb9793a41d6e0c3e1e47d34991c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Fri, 15 Dec 2023 18:35:39 +0100 Subject: [PATCH] Fix the OBS autosubmission --- .github/workflows/weblate-update-pot.yml | 6 +++--- .gitignore | 1 + service/Rakefile | 9 --------- 3 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 service/Rakefile diff --git a/.github/workflows/weblate-update-pot.yml b/.github/workflows/weblate-update-pot.yml index 6f53d34acb..bc82d8f67a 100644 --- a/.github/workflows/weblate-update-pot.yml +++ b/.github/workflows/weblate-update-pot.yml @@ -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 diff --git a/.gitignore b/.gitignore index 1051ddacee..07796137f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .log/ .yardoc/ .vscode/tasks.json +/*.pot diff --git a/service/Rakefile b/service/Rakefile deleted file mode 100644 index 1516c673bf..0000000000 --- a/service/Rakefile +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -# just inherit the usual YaST rake tasks -require "yast/rake" - -Yast::Tasks.configuration do |conf| - # lets ignore license check for now - conf.skip_license_check << /.*/ -end