The code already exists, so open-sourcing an internal tool can look almost free. Publishing is the cheap part. The liability begins when external users reasonably expect releases, answers, security handling, and migration guidance.

Before choosing a license or polishing the README, price twelve months of ownership.

The maintenance-liability worksheet

Obligation

Monthly hours