bitbucket-pipelines.yml отредактирован онлайн на Bitbucket

This commit is contained in:
Sergey Kalinin 2020-07-23 18:57:21 +00:00
parent e812926552
commit d1ac489b09

View File

@ -13,7 +13,7 @@ pipelines:
- ls -R ${WORKDIR}
- VERSION=$(grep Version rac_gui.tcl | grep -oE '\b[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\b')
- RELEASE=$(grep Release rac_gui.tcl | grep -oE '\b[0-9]{1,3}\b')
- tar czf --exclude=bitbucket-pipelines.yml ${WORKDIR}/rpmbuild/SOURCES/rac-gui-${VERSION}-${RELEASE}.tar.gz *
- tar czf ${WORKDIR}/rpmbuild/SOURCES/rac-gui-${VERSION}-${RELEASE}.tar.gz *
- cp rac_gui.spec ${WORKDIR}/rpmbuild/SPECS/rac_gui.spec
- sed -i "s/.*Version:.*/Version:\t${VERSION}/" ${WORKDIR}/rpmbuild/SPECS/rac_gui.spec
- sed -i "s/.*Release:.*/Release:\t${RELEASE}/" ${WORKDIR}/rpmbuild/SPECS/rac_gui.spec