Projects
Kolab:16:Testing:Candidate
kolab-autoconf
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
release.sh
Added
@@ -0,0 +1,18 @@ +#!/bin/bash + +set -e +set -x + +./buildtarball.sh + +# Autobump the version +CURRENT_VERSION=$(grep '^Version: ' kolab-autoconf.spec | sed 's/Version: //') +NEW_VERSION=$(echo "$CURRENT_VERSION" | awk -F. '/0-9+\./{$NF++;print}' OFS=.) +echo "Bumping from $CURRENT_VERSION to $NEW_VERSION" + +sed -i "1 s/(.*-1/($NEW_VERSION-1/" debian.changelog +sed -i "s/^Version:.*/Version: $NEW_VERSION-1/" kolab-autoconf.dsc +sed -i "s/^Version:.*/Version: $NEW_VERSION/" kolab-autoconf.spec + +osc ci -m "New release $NEW_VERSION" +osc sr Kolab:16 -m "New release $NEW_VERSION"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.