bitbucket-pipelines.yml отредактирован онлайн на Bitbucket
This commit is contained in:
parent
ab3b633c00
commit
e812926552
|
@ -10,6 +10,7 @@ pipelines:
|
||||||
- step:
|
- step:
|
||||||
script:
|
script:
|
||||||
- WORKDIR=/home/rpmbuild
|
- WORKDIR=/home/rpmbuild
|
||||||
|
- 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')
|
- 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 *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user