Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lemmy04
obs-service-kde
set_version_to
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File set_version_to of Package obs-service-kde
#!/bin/bash set -euo pipefail OLD_VERSION=$(sed -n -e 's,^version: \(.*\),\1,p' *.obsinfo | head -n 1) # Replace occurence of VERSION NEW_VERSION="${OLD_VERSION//VERSION/"$1"}" # Strip version from obsinfo sed -i"" "/^version:/d" *.obsinfo # Add the right version echo "version: ${NEW_VERSION}" >> *.obsinfo # rename contents rename "${OLD_VERSION}" "${NEW_VERSION}" *${OLD_VERSION}*
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