Skip to content

Commit 8e4d934

Browse files
Start signing internal v3 json
Now that the PR on the main brew repo got merged in we're generating the internal v3 JSON but we're not storing or using it anywhere. This updates the scheduled generation task to not only store the resulting JSON but also sign it to allow us to use it as a reference when building the loader code.
1 parent c1d4bf8 commit 8e4d934

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/scheduled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
HOMEBREW_DEVELOPER: 1
7575

7676
- name: Archive data
77-
run: tar czvf data-core.tar.gz _data/formula/ _data/formula_canonical.json api/formula/ api/formula_tap_migrations.json formula/
77+
run: tar czvf data-core.tar.gz _data/formula/ _data/formula_canonical.json api/formula/ api/formula_tap_migrations.json formula/ api/internal/v3/homebrew-core.json
7878

7979
- uses: actions/upload-artifact@v3
8080
with:

script/sign-json.rb

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
ROOT/"_site/api/cask.json",
1818
ROOT/"_site/api/formula_tap_migrations.json",
1919
ROOT/"_site/api/cask_tap_migrations.json",
20+
ROOT/"_site/api/internal/v3/homebrew-core.json",
2021
].each do |path|
2122
data_string = path.read
2223

0 commit comments

Comments
 (0)