We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0464df5 commit a4a6233Copy full SHA for a4a6233
.github/download-artifacts/index.js
@@ -95,6 +95,9 @@ async function downloadArtifacts (opts) {
95
}
96
97
async function resolve (branch) {
98
+ if (branch == 'main') {
99
+ branch = 'master'
100
+ }
101
const url = `https://artifacts-snapshot.elastic.co/elasticsearch/latest/${branch}.json`
102
const response = await fetch(url)
103
if (!response.ok) {
0 commit comments