Completely agree - it is a civic duty, and if you'll forgive me for link-dropping I remain unapologetic about it - http://www.oss4gov.org/manifesto and even see the unapology. There is a growing movement of placing OSS in government (see the service design manual on gov.uk - the UK government demands that new software is built in an Agile way(?!). - code for America do some really good civic hacking stuff (recent hackday had 90k people). But you don't have to be part of some movement - just be writing and releasing. Debian is still doing it after 20 years - far longer than most of us will ever stay in one job.
Edit: originally this was a comment on site but seemed to vanish.