Skip to content

Commit

Permalink
Merge pull request warewulf#1258 from JasonYangShadow/hotfix_nightly_…
Browse files Browse the repository at this point in the history
…build

fix nightly build invalid format issue
  • Loading branch information
mslacken authored Jun 12, 2024
2 parents ab5707c + 6abaa4d commit 1f274c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/rpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f274c0

Please sign in to comment.