All those worried about rising temps should know this happens all the time here.
"A "temperature spike" just before a cold front occurs because the warm air mass ahead of the front is pushed upwards and compressed slightly as the colder air mass approaches, causing a temporary rise in temperature, often referred to as a "thermal ridge" by meteorologists; essentially, the air warms slightly due to compression as the cold front moves in."