Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ojkastl_buildservice:Branch_devel_tools_scm
forgejo
get-sources.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get-sources.sh of Package forgejo
#!/usr/bin/sh set -e if [[ -z "$1" ]]; then echo "Please enter the version you want to update to"; exit 1; fi VERSION="$1" echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "patching spec file and downloading the tarball" echo "++++++++++++++++++++++++++++++++++++++++++++++" sed -i -e 's|Version: .*|Version: '${VERSION}'|g' forgejo.spec osc service ra download_files echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "extracting package-lock.json" echo "++++++++++++++++++++++++++++++++++++++++++++++" tar xf forgejo-src-${VERSION}.tar.gz forgejo-src-${VERSION}/package-lock.json cp forgejo-src-${VERSION}/package-lock.json . echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "Downloading node_modules" echo "++++++++++++++++++++++++++++++++++++++++++++++" osc service ra node_modules echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "Cleanup Step" echo "++++++++++++++++++++++++++++++++++++++++++++++" rm -r forgejo-src-${VERSION} rm node_modules.sums echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "Done! Have fun building and testing" echo "++++++++++++++++++++++++++++++++++++++++++++++"
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