File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -193,8 +193,6 @@ bundle exec rspec
193193
194194## Development
195195
196- Currently to bump version update config.json, fastcomments.gemspec, lib/fastcomments.rb
197-
198196To update the generated client from the OpenAPI spec:
199197
200198``` bash
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ echo "Bumping version to $NEW_VERSION..."
1616jq " .gemVersion = \" $NEW_VERSION \" " config.json > config.json.tmp && mv config.json.tmp config.json
1717echo " ✓ Updated config.json gemVersion to $NEW_VERSION "
1818
19+ # Update fastcomments.gemspec
20+ sed -i " s/spec\.version[[:space:]]*=.*/spec.version = \" $NEW_VERSION \" /" fastcomments.gemspec
21+ echo " ✓ Updated fastcomments.gemspec version to $NEW_VERSION "
22+
1923# Update lib/fastcomments.rb
2024sed -i " s/VERSION = '[^']*'/VERSION = '$NEW_VERSION '/" lib/fastcomments.rb
2125echo " ✓ Updated lib/fastcomments.rb VERSION to $NEW_VERSION "
You can’t perform that action at this time.
0 commit comments