Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
tracebox
update.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update.sh of Package tracebox
#! /bin/bash NAME=tracebox git clone --depth 1 https://github.com/tracebox/${NAME} ${NAME} osc rm $NAME-*.tar.bz2 pushd ${NAME} git submodule init git submodule update date=`date +"%Y%m%d"` #ver=`sed -n 's/.*AC_INIT(.tracebox., \[\([0-9.]\+\)\].*/\1/p' configure.ac` ver="0.3.1" VER=${ver}_$date ARC=$NAME-$VER.tar.bz2 find -iname ".git*" |xargs rm -rf popd mv $NAME $NAME-$VER tar -cjf $ARC $NAME-$VER echo "New date $date, version $ver" sed -i "s/\(Version: \+\).\+/\1$VER/" $NAME.spec rm -rf $NAME-$VER osc add $ARC
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor