File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 8787 mkdir -p ebmc-${VERSION}/DEBIAN
8888 mkdir -p ebmc-${VERSION}/usr/bin
8989 cp src/ebmc/ebmc ebmc-${VERSION}/usr/bin
90+ strip ebmc-${VERSION}/usr/bin/ebmc
9091 cat << EOM > ebmc-${VERSION}/DEBIAN/control
9192 Package: ebmc
9293 Version: ${VERSION}
@@ -185,14 +186,15 @@ jobs:
185186 mkdir %{buildroot}/usr/bin
186187 mkdir %{buildroot}/usr/lib/ebmc
187188 cp ${SRC}/src/ebmc/ebmc %{buildroot}/usr/bin/
189+ strip %{buildroot}/usr/bin/ebmc
188190
189191 %files
190192 /usr/bin/ebmc
191193 EOM
192194 echo Building ebmc-${VERSION}-1.x86_64.rpm
193195 (cd ~/rpmbuild/SPECS ; rpmbuild -v -bb ebmc.spec )
194196 rpm_package_name=ebmc-${VERSION}-1.x86_64.rpm
195- echo "rpm_package_path=~ /rpmbuild/SPECS/$rpm_package_name" >> $GITHUB_OUTPUT
197+ echo "rpm_package_path=$HOME /rpmbuild/SPECS/$rpm_package_name" >> $GITHUB_OUTPUT
196198 echo "rpm_package_name=centos8-$rpm_package_name" >> $GITHUB_OUTPUT
197199 - name : Upload binary packages
198200 uses : actions/upload-release-asset@v1
You can’t perform that action at this time.
0 commit comments