diff --git a/.github/workflows/AlmaLinux.yml b/.github/workflows/AlmaLinux.yml index f1dc990..50a7c13 100644 --- a/.github/workflows/AlmaLinux.yml +++ b/.github/workflows/AlmaLinux.yml @@ -36,7 +36,13 @@ jobs: go-version: '^1.16.7' - name: RPM build MetricCollector - run: make rpm + run: | + make RPM + RPM=~/rpmbuild/RPMS/*/*.rpm + SRPM=~/rpmbuild/SRPMS/*.src.rpm + echo ::set-output name="SRPM::${SRPM}" + echo ::set-output name="RPM::${RPM}" + echo ::set-output name="rpm_content_type::application/octet-stream" # See: https://github.com/actions/download-artifact - name: Save RPM as artifact diff --git a/scripts/cc-metric-collector.spec b/scripts/cc-metric-collector.spec index 65a9b55..9a1ec3b 100644 --- a/scripts/cc-metric-collector.spec +++ b/scripts/cc-metric-collector.spec @@ -1,5 +1,5 @@ Name: cc-metric-collector -Version: 0.2 +Version: %{VERS} Release: 1%{?dist} Summary: Metric collection daemon from the ClusterCockpit suite