Merge pull request #1258 from JasonYangShadow/hotfix_nightly_build

fix nightly build invalid format issue
This commit is contained in:
Christian Goll
2024-06-12 07:51:59 +02:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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