Been contracting for the Swiss government for years, namely ASTRA. They have 0 concept of how that should happen. It’s their IP, but they don’t want to take it, host it, maintain it, or do anything else with it once the project is done.
Do they just expect others to foot the bill? Sure, free GitHub exists, but everything else? Open sourcing without maintenance is abandonware and usually useless.