release-task: fix a bug that a HTML index file isn't replaced with any versions

Before, ReleaseTask treated a version such as "0-9-8", but "0.9.8" actually.
I can't find any version separated "-" between version numbers.