Bill Murray says it ended the war because without gold the Nazi's couldn't secure supplies.
To quote him here:
In the hunt for the art, they found hidden in the salt mines where the art was hidden, they found the ENTIRE gold supply of Germany. ENTIRE. Like they had moved their gold, their Fort Knox, into a mine, and this small group of guys searching for art in a mine, found the gold supply of Germany. And this effectively ended the war because once we announced we had all their gold, no country would sell them any more rubber, no country would sell them any more oil, no country would sell them any more anything.
This seems like a very strange statement, what countries were selling Germany oil and rubber at this point? The mine was discovered in central Germany, in April 1945, when the Germans were weeks from surrender. At that point, Germany hadn't had access to the world's oil and rubber markets for years. The primary producers of rubber, (UK and the Netherlands) were their enemies. True, the production areas had been captured by the Japanese in '41 but, as you can imagine, transporting the stuff to Germany, around the cape and past the allied navies, was difficult.