automatic release script now compatible with github repo and hosting