For vinyl I had an Excel spreadsheet that I moved over to google sheets a few years ago, and then put all that info gradually into Discogs, checking pressing details where I could. One thing that's annoying is that that info changes within 'scogs -- usually where there was just one "master release" and no variations, and now those variations have been added in.
Most of my collection is in 'scogs, but there are still some outliers.
I'm slowly -- very slowly -- adding CDs to 'scogs as well, though most of my CD collection is in storage.