From 3683cdb99d8990d2ec4a0b26f90b15de68362266 Mon Sep 17 00:00:00 2001 From: Roman Gershman Date: Sat, 16 Sep 2023 22:47:56 +0300 Subject: [PATCH] chore: build rpm package for the release (#1866) Signed-off-by: Roman Gershman --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8641c2de2..916d6b992 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,7 +126,8 @@ jobs: if [ -f /etc/debian_version ]; then ./tools/packaging/generate_debian_package.sh build-opt/dragonfly-x86_64 else - echo "TODO: build rpm" + echo "Creating package for ${{github.ref_name}}" + ./tools/packaging/rpm/build_rpm.sh build-opt/dragonfly-x86_64.tar.gz ${{github.ref_name}} fi - name: Run regression tests @@ -139,7 +140,6 @@ jobs: run-only-on-ubuntu-latest: false build-folder-name: build-opt - name: Save artifacts - if : matrix.container != 'fedora:30' # TODO run: | # place all artifacts at the same location mkdir -p results-artifacts @@ -147,11 +147,10 @@ jobs: mv build-opt/dragonfly-*tar.gz results-artifacts mv dragonfly_*.deb results-artifacts else - echo "TODO: upload rpm" - ls *.rpm + ls -l *.rpm + mv ./*.rpm ./results-artifacts/ fi - name: Upload - if : matrix.container != 'fedora:30' # TODO uses: actions/upload-artifact@v3 with: name: dragonfly-amd64