You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ruby -e "require 'rubygems/version'; current = Gem::Version.new('$CURRENT_VERSION'); latest = Gem::Version.new('$LATEST_VERSION'); abort(\"Version must be bumped before building (current=#{current}, latest=#{latest})\") unless current > latest"
This repository includes GitHub Actions workflows for:
170
+
171
+
- Running tests and gem build on every push and pull request (`CI`)
172
+
- Publishing the gem to RubyGems when a GitHub Release is published (`Release`)
173
+
174
+
To enable publishing, add this repository secret:
175
+
176
+
- `RUBYGEMS_AUTH_TOKEN`: your RubyGems API key with push permissions
177
+
178
+
The release workflow checks that `CloudstackClient::VERSION` is greater than the latest version on RubyGems before building, then uses the `rubygems` environment to publish.
179
+
167
180
## References
168
181
169
182
- [Apache CloudStack API documentation](http://cloudstack.apache.org/api/apidocs-4.15/)
0 commit comments