Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fusionfuture
thunderbird-beta
updater.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File updater.sh of Package thunderbird-beta
#!/usr/bin/env bash cd /home/qydw/osc/home:fusionfuture/thunderbird-beta/ LATEST_THUNDERBIRD_DEVEL_VERSION=$(curl -s https://product-details.mozilla.org/1.0/thunderbird_versions.json|jq -cr .LATEST_THUNDERBIRD_DEVEL_VERSION) [ -z "${LATEST_THUNDERBIRD_DEVEL_VERSION}" ] && exit LATEST_CHECKED_VERSION=$(cat LATEST_THUNDERBIRD_DEVEL_VERSION) [ "$LATEST_THUNDERBIRD_DEVEL_VERSION" = "$LATEST_CHECKED_VERSION" ] && exit || echo "New version found" sed -i -E "s/^%define program_version .*$/%define program_version ${LATEST_THUNDERBIRD_DEVEL_VERSION}/" thunderbird-beta.spec osc vc -m "Update to ${LATEST_THUNDERBIRD_DEVEL_VERSION}" && \ osc ci -m "Update to ${LATEST_THUNDERBIRD_DEVEL_VERSION}" && \ echo -n $LATEST_THUNDERBIRD_DEVEL_VERSION > LATEST_THUNDERBIRD_DEVEL_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