use current version number
Merge pull request #397 from mossprescott/hotfix/publish-version

use current version number in publish script