Ground coffee definitely does degas. If you read my blog at
http://coffeetroupe.com/ I did a experiments measuring the degassing. Ground coffee degasses for 24 hours. If you are talking commercially roasted coffee that is high speed roasted in 3 minutes, the will degas almost immediately when ground. Normal roasted ground coffee takes 24 hours.
You could bag, close the top but not seal. The CO2 will be emitted within 24 hours then seal.