mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-21 21:23:08 -05:00
refactor to source_build
This commit is contained in:
parent
53cdac8984
commit
9423e9db41
1 changed files with 5 additions and 5 deletions
|
@ -3,15 +3,15 @@
|
|||
set -e
|
||||
|
||||
fetch_and_extract() {
|
||||
rm -rf version release
|
||||
rm -rf version source_release
|
||||
wget -q -O version "https://gitlab.com/librewolf-community/browser/source/-/raw/main/version"
|
||||
wget -q -O release "https://gitlab.com/librewolf-community/browser/source/-/raw/main/release"
|
||||
wget -q -O source_release "https://gitlab.com/librewolf-community/browser/source/-/raw/main/release"
|
||||
|
||||
rm -f "librewolf-$(cat version)-$(cat release).source.tar.gz"
|
||||
wget -O "librewolf-$(cat version)-$(cat release).source.tar.gz" "https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$(cat version)-$(cat release).source.tar.gz?job=build-job"
|
||||
rm -f "librewolf-$(cat version)-$(cat source_release).source.tar.gz"
|
||||
wget -O "librewolf-$(cat version)-$(cat source_release).source.tar.gz" "https://gitlab.com/librewolf-community/browser/source/-/jobs/artifacts/main/raw/librewolf-$(cat version)-$(cat source_release).source.tar.gz?job=build-job"
|
||||
|
||||
rm -rf librewolf-$(cat version)
|
||||
tar xf librewolf-$(cat version)-$(cat release).source.tar.gz
|
||||
tar xf librewolf-$(cat version)-$(cat source_release).source.tar.gz
|
||||
|
||||
# here would be a great spot to insert system dependent stuff like mozconfig/patches.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue