Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools:scm
trac-plugin-collapsible
update.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update.sh of Package trac-plugin-collapsible
#! /bin/bash NAME=collapsible svn co https://trac-hacks.org/svn/${NAME}plugin/trunk/ ${NAME}_ osc rm $NAME-*.tar.bz2 pushd ${NAME}_ svn export . ../$NAME rev=`svn up | sed -n 's/[^0-9]*\([0-9]\+\).*/\1/p'` ver=`sed -n 's/VERSION = \([0-9.]\+\)/\1/p' setup.py` ARC=$NAME-r$rev.tar.bz2 popd echo "New revision $rev, version $ver" sed -i "s/\(Version: \+\).[^_]\+/\1$ver/;s/\(revision \+\)[0-9]\+/\1$rev/" trac-plugin-$NAME.spec tar -cjf $ARC $NAME rm -rf ${NAME}_ $NAME 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