CI: fix the rpm build job's Fedora version
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Apr 2023 23:04:28 +0000 (09:04 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Apr 2023 23:04:57 +0000 (09:04 +1000)
We have the variable set, we just didn't use it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/ci.template

index 21d8da0dc38903a8e79453d2a5cee0ac71f1df8b..4b5bb29540fe3f716b12e7e253a12e9a8534780f 100644 (file)
@@ -1042,10 +1042,10 @@ build rpm:
     - .policy
   stage: deploy
   variables:
-    FDO_DISTRIBUTION_VERSION: '36'
+    FDO_DISTRIBUTION_VERSION: '37'
     FDO_DISTRIBUTION_TAG: $FEDORA_TAG
   needs:
-    - "fedora:36@container-prep"
+    - "fedora:37@container-prep"
   script:
     - meson "$MESON_BUILDDIR"
     - VERSION=$(meson introspect "$MESON_BUILDDIR" --projectinfo | jq -r .version)
index 4288fee48228f1f8e6cfd54a1b1f46dbad66d88c..21bb4046c2b4ef71a5ba877996d845307c9c2e1b 100644 (file)
@@ -705,10 +705,10 @@ build rpm:
     - .policy
   stage: deploy
   variables:
-    FDO_DISTRIBUTION_VERSION: '36'
+    FDO_DISTRIBUTION_VERSION: '{{version}}'
     FDO_DISTRIBUTION_TAG: $FEDORA_TAG
   needs:
-    - "fedora:36@container-prep"
+    - "fedora:{{version}}@container-prep"
   script:
     - meson "$MESON_BUILDDIR"
     - VERSION=$(meson introspect "$MESON_BUILDDIR" --projectinfo | jq -r .version)