build and release gem in build tasks