From d21a7c446b50b9668e9759a3d81276c783c54ca2 Mon Sep 17 00:00:00 2001 From: James Healy Date: Sun, 26 Jun 2022 16:59:24 +1000 Subject: [PATCH] Update the authoritative URLs for emoji data In August 2021 we renamed the development branch in the emojis repo from master to main. That was relatively smooth from an emojis development perspective, but we didn't realise the cli had master hard coded. As a quick 'fix' I've re-pushed a master branch to the emojis repo, based on current main. It won't stay up to date though, so this changes the cli to check the main branch instead. See also: https://github.com/buildkite/emojis/issues/386 --- local/emoji.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/emoji.go b/local/emoji.go index d6cec4c5..c884a9b1 100644 --- a/local/emoji.go +++ b/local/emoji.go @@ -20,9 +20,9 @@ import ( ) const ( - appleEmojiMapping = `https://github.com/buildkite/emojis/raw/master/img-apple-64.json` - buildkiteEmojiMapping = `https://github.com/buildkite/emojis/raw/master/img-buildkite-64.json` - emojiCachePrefix = `https://github.com/buildkite/emojis/raw/master/` + appleEmojiMapping = `https://github.com/buildkite/emojis/raw/main/img-apple-64.json` + buildkiteEmojiMapping = `https://github.com/buildkite/emojis/raw/main/img-buildkite-64.json` + emojiCachePrefix = `https://github.com/buildkite/emojis/raw/main/` ) var emojiRegexp = regexp.MustCompile(`:\w+:`)