Dev: Fix builds to include EOL data properly [build]
This commit is contained in:
parent
548b2ab08e
commit
1b7c9bea0d
7
.github/build/vars.sh
vendored
7
.github/build/vars.sh
vendored
@ -18,3 +18,10 @@ cloud_upload_ssh_host="${ENV_BUILD__CLOUD_UPLOAD_SSH_HOST:-webmin.dev}"
|
||||
cloud_upload_ssh_dir="${ENV_BUILD__CLOUD_UPLOAD_SSH_DIR:-~/domains/builds.webmin.dev/public_html}"
|
||||
cloud_upload_gpg_passphrase="${WEBMIN_DEV__GPG_PH}"
|
||||
|
||||
# Define verbosity level
|
||||
verbosity_level=' >/dev/null 2>&1 </dev/null'
|
||||
verbosity_level_to_file='2> /dev/null'
|
||||
verbosity_level_with_input=' >/dev/null 2>&1'
|
||||
if [[ "'$*'" == *"--debug"* ]]; then
|
||||
unset verbosity_level verbosity_level_to_file verbosity_level_with_input
|
||||
fi
|
||||
|
@ -88,7 +88,7 @@ else {
|
||||
# Build EOL data
|
||||
if (-r "./webmin/os-eol-lib.pl") {
|
||||
print "Building OS EOL data\n";
|
||||
system("./os-eol.pl");
|
||||
system("./os-eol-make.pl");
|
||||
}
|
||||
|
||||
# Prepare dist files
|
||||
|
@ -1,6 +1,9 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Build EOL data JSON file
|
||||
|
||||
if ($0 =~ /^(.*)\//) {
|
||||
chdir($1);
|
||||
}
|
||||
do "./web-lib-funcs.pl";
|
||||
do "./webmin/os-eol-lib.pl";
|
||||
&eol_build_all_os_data("./os_eol.json");
|
Loading…
x
Reference in New Issue
Block a user