Skip to content

Commit

Permalink
BTA-11168 Add an SDK release workflow (#10)
Browse files Browse the repository at this point in the history
* BTA-11168 Add the initial gem release workflow

* BTA-11168 test auto gem release

* BTA-11168 test auto gem release

* BTA-11168 test auto gem release

* BTA-11168 remove the test branch
  • Loading branch information
CodeBuild committed Oct 20, 2023
1 parent e3ac456 commit e7237a8
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build transferzero-sdk.gemspec
- gem install ./transferzero-sdk-1.30.1.gem
- gem install ./transferzero-sdk-1.30.2.gem
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0
- Package version: 1.30.1
- Package version: 1.30.2
- Build package: org.openapitools.codegen.languages.RubyClientCodegen

For more information, please visit:
Expand All @@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
Then either install the gem locally:

```shell
gem install ./transferzero-sdk-1.30.1.gem
gem install ./transferzero-sdk-1.30.2.gem
```
(for development, run `gem install --dev ./transferzero-sdk-1.30.1.gem` to install the development dependencies)
(for development, run `gem install --dev ./transferzero-sdk-1.30.2.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'transferzero-sdk', '~> 1.30.1'
gem 'transferzero-sdk', '~> 1.30.2'

### Install from Git

Expand Down
2 changes: 1 addition & 1 deletion docs/PayoutMethodDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**phone_number** | **String** | |
**mobile_provider** | [**PayoutMethodMobileProviderEnum**](PayoutMethodMobileProviderEnum.md) | |
**country** | [**PayoutMethodCountryEnum**](PayoutMethodCountryEnum.md) | |
**transfer_reason** | **String** | |
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |
**iban** | **String** | |
**bank_name** | **String** | |
**bank_country** | **String** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/PayoutMethodDetailsEGPBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**phone_number** | **String** | |
**bank_account** | **String** | |
**bank_code** | **String** | |
**transfer_reason** | **String** | |
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |

## Code Sample

Expand Down
2 changes: 1 addition & 1 deletion docs/PayoutMethodDetailsUGXBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**identity_card_id** | **String** | |
**bank_account** | **String** | |
**branch_code** | **String** | |
**transfer_reason** | **String** | |
**transfer_reason** | [**PayoutMethodTransferReasonEnum**](PayoutMethodTransferReasonEnum.md) | |

## Code Sample

Expand Down
2 changes: 1 addition & 1 deletion lib/transferzero-sdk/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ApiClient
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
def initialize(config = Configuration.default)
@config = config
@user_agent = "TransferZero-SDK/Ruby/1.30.1"
@user_agent = "TransferZero-SDK/Ruby/1.30.2"
@default_headers = {
'Content-Type' => 'application/json',
'User-Agent' => @user_agent
Expand Down
2 changes: 1 addition & 1 deletion lib/transferzero-sdk/models/payout_method_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def self.openapi_types
:'phone_number' => :'String',
:'mobile_provider' => :'PayoutMethodMobileProviderEnum',
:'country' => :'PayoutMethodCountryEnum',
:'transfer_reason' => :'String',
:'transfer_reason' => :'PayoutMethodTransferReasonEnum',
:'iban' => :'String',
:'bank_name' => :'String',
:'bank_country' => :'String',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.openapi_types
:'phone_number' => :'String',
:'bank_account' => :'String',
:'bank_code' => :'String',
:'transfer_reason' => :'String'
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def self.openapi_types
:'identity_card_id' => :'String',
:'bank_account' => :'String',
:'branch_code' => :'String',
:'transfer_reason' => :'String'
:'transfer_reason' => :'PayoutMethodTransferReasonEnum'
}
end

Expand Down
2 changes: 1 addition & 1 deletion lib/transferzero-sdk/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module TransferZero
VERSION = '1.30.1'
VERSION = '1.30.2'
end

0 comments on commit e7237a8

Please sign in to comment.