[libvirt PATCH] gitlab: fix potfile job for new location

Daniel P. Berrangé posted 1 patch 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200604175753.3221646-1-berrange@redhat.com
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt PATCH] gitlab: fix potfile job for new location
Posted by Daniel P. Berrangé 3 years, 10 months ago
Since we're storing the libvirt.pot file in git now, we should pull from
the source dir, not the build dir.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as CI fix

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 149334ed6f..7113a1283c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -210,7 +210,7 @@ potfile:
     - $MAKE -C src generated-sources
     - $MAKE -C po libvirt.pot
     - cd ..
-    - mv build/po/libvirt.pot libvirt.pot
+    - cp po/libvirt.pot libvirt.pot
   image: quay.io/libvirt/buildenv-libvirt-centos-8:latest
   artifacts:
     expose_as: 'Potfile'
-- 
2.26.2