Created attachment 188108 [details] refactor common code in release.sh This combines some common code in release.sh. While unimpressive by itself, it is needed for a subsequent patch.
Although not clear from the diff, the common _OSVERSION line is retaine.