feat: variant version will be the default version + official variant
The official variant will pin the official binaries from github:zen-browser/desktop, that's the option for people that doesn't trust the binaries of this repository. In other hand, the "twilight" package is pinned with artifacts that we store in this repository. The reason why this is default now is because I decided to follow the philosophy that is available in the official NixOS page(https://nixos.org/): reproducible, declarative and reliable. I know this could be a little bit invasive for some people but I think that they're just a minority and this is a problem that should be solved now given the time that has been passed since twilight was implemented.
This commit is contained in:
4
.github/update.sh
vendored
4
.github/update.sh
vendored
@@ -121,12 +121,12 @@ try_to_update() {
|
||||
echo "[skipping] An artifact $artifact_name already exists in $release_name @ following link: $self_download_url"
|
||||
fi
|
||||
|
||||
jq ".[\"twilight-resilient\"][\"$arch-linux\"] = {\"version\":\"$semver\",\"sha1\":\"$remote_sha1\",\"url\":\"$self_download_url\",\"sha256\":\"$sha256\"}" <sources.json >sources.json.tmp
|
||||
jq ".[\"twilight\"][\"$arch-linux\"] = {\"version\":\"$semver\",\"sha1\":\"$remote_sha1\",\"url\":\"$self_download_url\",\"sha256\":\"$sha256\"}" <sources.json >sources.json.tmp
|
||||
mv sources.json.tmp sources.json
|
||||
done
|
||||
fi
|
||||
|
||||
jq ".[\"$version_name\"][\"$arch-linux\"] = {\"version\":\"$semver\",\"sha1\":\"$remote_sha1\",\"url\":\"$download_url\",\"sha256\":\"$sha256\"}" <sources.json >sources.json.tmp
|
||||
jq ".[\"$version_name-official\"][\"$arch-linux\"] = {\"version\":\"$semver\",\"sha1\":\"$remote_sha1\",\"url\":\"$download_url\",\"sha256\":\"$sha256\"}" <sources.json >sources.json.tmp
|
||||
mv sources.json.tmp sources.json
|
||||
|
||||
echo "$version_name was updated to $version"
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
default = mkZen "beta" system "beta";
|
||||
beta = mkZen "beta" system "beta";
|
||||
twilight = mkZen "twilight" system "twilight";
|
||||
twilight-resilient = mkZen "twilight" system "twilight-resilient";
|
||||
twilight-official = mkZen "twilight" system "twilight-official";
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user