Browse Source

fix(ci): specify version for RPM package for schedule and pull_request events

Frédéric Guillot 5 months ago
parent
commit
907daf78bf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/rpm_packages.yml

+ 2 - 1
.github/workflows/rpm_packages.yml

@@ -11,6 +11,7 @@ on:
     branches: [ main ]
     paths:
       - 'packaging/rpm/**' # Only run on changes to the rpm packaging files
+      - '.github/workflows/rpm_packages.yml'
 jobs:
   test-package:
     if: github.event_name == 'schedule' || github.event_name == 'pull_request'
@@ -21,7 +22,7 @@ jobs:
       with:
           fetch-depth: 0
     - name: Build RPM Package
-      run: make rpm
+      run: make rpm VERSION=2.2.x_dev
     - name: List generated files
       run: ls -l *.rpm
   build-package-manually: