File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Create pull requests to update mozilla-central version to the latest'
2
2
3
3
on :
4
- schedule :
5
- - cron : " 00 14 */100,1-7 * 1" # run on the first Monday of each month at 14:00 UTC (10:00 Eastern Daylight Time)
4
+ # schedule:
5
+ # - cron: "00 14 */100,1-7 * 1" # run on the first Monday of each month at 14:00 UTC (10:00 Eastern Daylight Time)
6
6
# See https://blog.healthchecks.io/2022/09/schedule-cron-job-the-funky-way/
7
7
workflow_call :
8
8
workflow_dispatch : # or you can run it manually
21
21
# See https://mozilla-version-control-tools.readthedocs.io/en/latest/hgmo/pushlog.html#hgweb-commands
22
22
run : |
23
23
COMMIT_HASH=$(
24
- curl -s "https://hg.mozilla.org/mozilla-central/json-pushes?tipsonly=1&version=2" |\
24
+ curl -L - s "https://hg.mozilla.org/mozilla-central/json-pushes?tipsonly=1&version=2" |\
25
25
jq --join-output '(.lastpushid | tostring) as $pushid | empty, .pushes[$pushid].changesets[0]'
26
26
)
27
27
echo "MOZCENTRAL_VERSION=$COMMIT_HASH" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1
- dd8b1488a379ee395592f636d084cf81117f3b4c
1
+ cdfe21b20eacfaa6712dd9821d6383859ce386c6
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ echo "Done installing dependencies"
44
44
echo " Downloading spidermonkey source code"
45
45
# Read the commit hash for mozilla-central from the `mozcentral.version` file
46
46
MOZCENTRAL_VERSION=$( cat mozcentral.version)
47
- wget -c -q -O firefox-source-${MOZCENTRAL_VERSION} .zip https://hg.mozilla.org /mozilla-central /archive/${MOZCENTRAL_VERSION} .zip
48
- unzip -q firefox-source-${MOZCENTRAL_VERSION} .zip && mv mozilla-central -${MOZCENTRAL_VERSION} firefox-source
47
+ wget -c -q -O firefox-source-${MOZCENTRAL_VERSION} .zip https://github.com /mozilla/gecko-dev /archive/${MOZCENTRAL_VERSION} .zip
48
+ unzip -q firefox-source-${MOZCENTRAL_VERSION} .zip && mv gecko-dev -${MOZCENTRAL_VERSION} firefox-source
49
49
echo " Done downloading spidermonkey source code"
50
50
51
51
echo " Building spidermonkey"
You can’t perform that action at this time.
0 commit comments