diff --git a/.github/actions/rpm/action.yml b/.github/actions/rpm/action.yml index b64beb581..66fa3fd80 100644 --- a/.github/actions/rpm/action.yml +++ b/.github/actions/rpm/action.yml @@ -51,8 +51,8 @@ runs: - name: Set RPM and SRPM run: | - VERSION=$(rpm -q --qf "%{VERSION}\n" --specfile warewulf.spec) - GENERIC_RELEASE=$(rpm -q --qf "%{RELEASE}\n" --specfile warewulf.spec | cut -d. -f1) + VERSION=$(rpm -q --qf "%{VERSION}\n" --specfile warewulf.spec | head -1) + GENERIC_RELEASE=$(rpm -q --qf "%{RELEASE}\n" --specfile warewulf.spec | cut -d. -f1 | head -1) RPM=warewulf-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.${{ inputs.arch }}.rpm SRPM=warewulf-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.src.rpm DRACUT=wareful-dracut-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.noarch.rpm diff --git a/CHANGELOG.md b/CHANGELOG.md index bacc7ea42..abdef64fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). `/sys/firmware/devicetree/base/serial-number` - Replace slice in templates with sprig substr. #1093 +## v4.5.x, unreleased + +### Fixed + +- Fix nightly build invalid format issue. + ## v4.5.3, 2024-06-07 ### Added