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 3b1143a commit f781f99Copy full SHA for f781f99
.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