You have a couple of options. But the goal is to record your bass line or music into a WAV file for the best sound. Using a interface and DAW can do it on a computer.
Once you have your music recorded and mixed down in a WAV file for the best sound quality, then you can post it on any of the free music websites like BandCamp, or SoundCloud for people to download for free or what ever you want to charge.
If you are doing collaboration with a band or for a studio, you can use the DAW and record your bass line or music to the time code of the DAW. That way when you give your bass track to the studio or other party, they will have a time code on the recording so they can plug in your track and edit it with the rest of the music. The time code allows others to cut and paste, or adjust tempo. You can use DropBox to send and receive WAV files for your DAW. And You can send Studio WAV files to others so they can use it.
Another option for collaboration is to record over another track or have someone record over your track. This can be done by sharing your music using the BandCamp or SoundCloud. Just download or upload a track to collaborate with. Or you can use DropBox to share your files with others.
If all this is too much to consider. You can get a good digital video camera and video tape your recording and post it on YouTube.