mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -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
|
set -e
|
||||||
|
|
||||||
fetch_and_extract() {
|
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 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"
|
rm -f "librewolf-$(cat version)-$(cat source_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"
|
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)
|
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.
|
# here would be a great spot to insert system dependent stuff like mozconfig/patches.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue