Projects
Kolab:16:Testing
roundcubemail-selfcontained
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
release.sh
Added
@@ -0,0 +1,18 @@ +#!/bin/bash + +./buildroundcubemailtarball.sh + +# Autobump the debian version +CURRENT_VERSION=$(grep '^Version: ' roundcubemail.dsc | sed 's/Version: //' | sed 's/1://') +echo "$CURRENT_VERSION" +CURRENT_VERSION_PREFIX=$(echo "$CURRENT_VERSION" | cut -d'~' -f 1) +CURRENT_KOLAB_VERSION=$(echo "$CURRENT_VERSION" | cut -d'~' -f 2 | sed 's/kolab//') +NEW_KOLAB_VERSION=$(($CURRENT_KOLAB_VERSION + 1)) +NEW_VERSION="$CURRENT_VERSION_PREFIX~kolab$NEW_KOLAB_VERSION" +echo "Bumping from $CURRENT_VERSION to $NEW_VERSION" + +sed -i "s/$CURRENT_VERSION/$NEW_VERSION/" debian.changelog +sed -i "s/^Version:.*/Version: 1:$NEW_VERSION/" roundcubemail.dsc + +osc ci -m "New release" +osc sr Kolab:16 -m "New release"
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
.