The papers - it's clear. But if the subject is just small lib and writer is interested only, say, in the money, and only i, as the employer, have all files and just want to share the lib for the community.
And formally to have the rights to use the lib in the future. So, task is formally to publish the files as are with mentioning the license that formally obliges next developers to publish the new version also back to community.