Skip to content

Commit

Permalink
Merge pull request #1095 from rootfs/ci-rpm-2
Browse files Browse the repository at this point in the history
rpm build: fix version
  • Loading branch information
sthaha authored Nov 29, 2023
2 parents 573e222 + 1400f41 commit b740b3b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ jobs:
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "::set-output name=date::$(date +'%Y%m%d')"

- name: Checkout code
uses: actions/[email protected]

- name: get git version
id: git_version
run: echo "::set-output name=git_version::$(git describe --dirty --tags --always --match='v*' | tr '-' '.')"

- name: Build RPM packages
id: rpm_build
env:
_VERSION_ : ${{ steps.date.outputs.date }}
_RELEASE_: 1
_COMMITTER_: ${{ github.actor }}
_VERSION_ : ${{ steps.git_version.outputs.git_version }}
_RELEASE_: ${{ steps.date.outputs.date }}
_COMMITTER_: nightly
_ARCH_: x86_64
run: |
make containerized_build_rpm
Expand Down

0 comments on commit b740b3b

Please sign in to comment.