It stayed at number one for a record-tying 16 consecutive weeks on the Canadian Hot 100, as well as 14 non-consecutive weeks on the UK Singles Chart, and 12 non-consecutive weeks on the Billboard Hot 100. 'Shape of You' peaked at number-one on the singles charts of 34 countries, including the US Billboard Hot 100 (later becoming the best performing song of 2017), as well as the UK, Australian and Canadian singles charts. The song was produced by Sheeran and Mac. Due to its interpolation of ' No Scrubs' by TLC, Kandi Burruss, Tameka 'Tiny' Cottle, and Kevin 'She'kspere' Briggs are also credited as writers. The dancehall-infused pop song was written by Ed Sheeran, Steve Mac and Johnny McDaid. It was released on 6 January 2017 as one of the double lead singles from his third studio album ÷ (2017), along with ' Castle on the Hill'. ' Shape of You' is a song by English singer-songwriter Ed Sheeran.