Skip to content

Commit

Permalink
MD-2216: changes for EL9 (#3)
Browse files Browse the repository at this point in the history
* MD-2216: changes for EL9
* MD-2216: amend codebuild.yml
  • Loading branch information
crannym authored May 3, 2023
1 parent 8fcbaf0 commit 0c7c98f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .codebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ phases:
commands:
- cd pkg
- cp Makefile.bidi Makefile
- RELEASE="$(grep CPE_NAME /etc/os-release | sed 's/[^0-9]//g')"
build:
on-failure: ABORT
commands:
- make prepare
- mock-build --os 8
- mock-build --os ${RELEASE}
post_build:
on-failure: ABORT
commands:
- |-
if [[ "${MD_ENVIRONMENT}" == "live" ]] ; then
for rpm in $(ls ./RPMS/liblpm-*.rpm)
do
repo upload ${rpm} md-el8/revisions/head
repo upload ${rpm} md-el${RELEASE}/revisions/head
done
fi

0 comments on commit 0c7c98f

Please sign in to comment.