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