fix version for github url

after parsing `version` the version for github should now be `gh[2]` instead of `version`.