fix nightly build invalid format issue
Signed-off-by: xu yang <xyang@ciq.com>
This commit is contained in:
4
.github/actions/rpm/action.yml
vendored
4
.github/actions/rpm/action.yml
vendored
@@ -51,8 +51,8 @@ runs:
|
|||||||
|
|
||||||
- name: Set RPM and SRPM
|
- name: Set RPM and SRPM
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(rpm -q --qf "%{VERSION}\n" --specfile warewulf.spec)
|
VERSION=$(rpm -q --qf "%{VERSION}\n" --specfile warewulf.spec | head -1)
|
||||||
GENERIC_RELEASE=$(rpm -q --qf "%{RELEASE}\n" --specfile warewulf.spec | cut -d. -f1)
|
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
|
RPM=warewulf-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.${{ inputs.arch }}.rpm
|
||||||
SRPM=warewulf-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.src.rpm
|
SRPM=warewulf-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.src.rpm
|
||||||
DRACUT=wareful-dracut-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.noarch.rpm
|
DRACUT=wareful-dracut-${VERSION}-${GENERIC_RELEASE}.${{ inputs.dist }}.noarch.rpm
|
||||||
|
|||||||
@@ -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`
|
`/sys/firmware/devicetree/base/serial-number`
|
||||||
- Replace slice in templates with sprig substr. #1093
|
- 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
|
## v4.5.3, 2024-06-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
Reference in New Issue
Block a user