From b3ce2aa76d3c077e21763a5220052c131fbf9824 Mon Sep 17 00:00:00 2001 From: Matthew Lewis Date: Wed, 4 Oct 2023 14:59:57 +1100 Subject: [PATCH] Added buildkite pipeline for automating gem release, bumped version --- .buildkite/pipeline.yml | 30 ++++++++++++++++++++++++++++++ README.md | 2 +- lib/fat_zebra/version.rb | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100755 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100755 index 0000000..3a6e803 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,30 @@ +steps: + - label: ":rspec: Run rspec" + command: + - "bundle install" + - "bundle exec rspec" + plugins: + - docker#v3.3.0: + image: ruby:2.7 + + - label: ":rubocop: Run the cop" + command: + - "bundle install" + - "echo 'running rubocop'" + - "bundle exec rubocop" + plugins: + - docker#v3.3.0: + image: ruby:2.7 + - wait + + - label: ":pick: Build and Push" + command: + - "bundle install" + - "bundle exec rake release" + branches: master + plugins: + - docker#v3.3.0: + image: ruby:2.7 + agents: + queue: aws + Environment: test \ No newline at end of file diff --git a/README.md b/README.md index 83dff5e..2da3e2e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Ruby API Library for Fat Zebra [![Build Status](https://travis-ci.org/fatzebra/Ruby-Library.svg?branch=master)](https://travis-ci.org/fatzebra/Ruby-Library) -Release 3.2.3 for API version 1.0 +Release 3.2.6 for API version 1.0 A Ruby client for the [Fat Zebra](https://www.fatzebra.com) Online Payment Gateway diff --git a/lib/fat_zebra/version.rb b/lib/fat_zebra/version.rb index f5b28a2..68f02c4 100644 --- a/lib/fat_zebra/version.rb +++ b/lib/fat_zebra/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FatZebra - VERSION = '3.2.5' + VERSION = '3.2.6' end