tagfiles={"expkv.dtx","README.md"}
function update_tag(file, content, tagname, tagdate)
if tagname == nil then
tagname=pkgversion
tagdate=pkgdate
end
string.gsub(content,v"%$DATE%$", tagdate)
string.gsub(content,v"%$VERSION%$", tagname)
return content
end