Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox-nightly: fix version and enable autoupdate #2124

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions bucket/firefox-nightly.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"description": "Nightly builds of Firefox: the popular open source web browser.",
"homepage": "https://www.mozilla.org/en-US/firefox/nightly/",
"version": "nightly",
"version": "68.0a1",
"license": "MPL-2.0",
"architecture": {
"64bit": {
"url": "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=win64&lang=en-US#/firefox.7z"
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-68.0a1.en-US.win64.zip",
"hash": "sha512:fd291fb029198c39602cb14aad644ac0cd683160a39a86e1d4d15f12df6e858e7df6d81dc6b4fe326570805a79aa52f1d0e12a37956480e1fbd4210fe9fca91e"
},
"32bit": {
"url": "https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=win&lang=en-US#/firefox.7z"
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-68.0a1.en-US.win32.zip",
"hash": "sha512:b59bd83494b13bda45225195cb9b268a8324e9d239a9123d2ad4cc23deb03dfd5c6b81ee0062e181c19448978ae9e9a2beeaf7b05c8d92968949f1b744d08429"
}
},
"extract_dir": "core",
"extract_dir": "firefox",
"bin": [
[
"firefox.exe",
Expand All @@ -23,5 +25,25 @@
"firefox.exe",
"Firefox Nightly"
]
]
],
"checkver": {
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/",
"regex": "firefox-([\\w.]+)\\.en-US"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$version.en-US.win64.zip",
"hash": {
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$version.en-US.win64.checksums"
}
},
"32bit": {
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$version.en-US.win32.zip",
"hash": {
"url": "https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-$version.en-US.win32.checksums"
Copy link
Contributor

@Ash258 Ash258 May 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@r15ch13 What about present new substitution variable like $urlNoExt which would just strip file extension from URL. There are few manifests which would benefit from it.

Same for basename

}
}
}
}
}