Skip to content

Commit

Permalink
Update the authoritative URLs for emoji data
Browse files Browse the repository at this point in the history
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: buildkite/emojis#386
  • Loading branch information
yob committed Jun 26, 2022
1 parent 52160fd commit d21a7c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions local/emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -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+:`)
Expand Down

0 comments on commit d21a7c4

Please sign in to comment.