Skip to content

Commit

Permalink
github: fix build-rpm-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wheeler committed Aug 15, 2024
1 parent 289e83f commit b8c6234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-rpm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
DIST=""
fi
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "DIST=$DIST" >> $GITHUB_ENV
Expand All @@ -62,7 +63,7 @@ jobs:
# Copy the spec file to the SPECS directory if necessary
cp xnec2c.spec /root/rpmbuild/SPECS/
cp xnec2c*.tar.gz /root/rpmbuild/SOURCES/xnec2c-v${VERSION}.tar.gz
cp xnec2c*.tar.gz /root/rpmbuild/SOURCES/xnec2c-${LATEST_TAG}.tar.gz
# Build the RPM
rpmbuild -ba --define \"_version ${VERSION}\" --define \"_dist ${DIST}\" \
Expand Down

0 comments on commit b8c6234

Please sign in to comment.