build(release): pass major/minor/patch to all sub command
MODIFY
script/release
script/release
@@ -122,14 +122,14 @@ main() {
echo "Creating release for $major.$minor.$patch"
echo "==============================="
- create_release_branch
+ create_release_branch $major $minor $patch
update_readme $major $minor $patch
update_ruby_version $major $minor $patch
update_gemfiles $major $minor $patch
update_npm $major $minor $patch
- add_changed_files
- commit
- push
+ add_changed_files $major $minor $patch
+ commit $major $minor $patch
+ push $major $minor $patch
done
}

build(release): pass major/minor/patch to all sub command