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

This commit is contained in:
Sergey Kalinin 2020-07-23 18:50:21 +00:00
parent 654729b790
commit ab3b633c00

View File

@ -9,7 +9,7 @@ pipelines:
default: default:
- step: - step:
script: script:
- WORKDIR=/home - WORKDIR=/home/rpmbuild
- VERSION=$(grep Version rac_gui.tcl | grep -oE '\b[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\b') - 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') - 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 --exclude=bitbucket-pipelines.yml ${WORKDIR}/rpmbuild/SOURCES/rac-gui-${VERSION}-${RELEASE}.tar.gz *