From 5d04ddec550a620c48b1b6e7331edb865156d5e6 Mon Sep 17 00:00:00 2001
From: Shine Open Source <opensource@shinesolutions.com>
Date: Mon, 27 Sep 2021 18:16:20 +1000
Subject: [PATCH] Release version 3.6.2

---
 .github/workflows/ruby-publish-workflow.yaml | 6 +++---
 clients/ruby/CHANGELOG.md                    | 3 +--
 clients/ruby/conf/client.json                | 2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ruby-publish-workflow.yaml b/.github/workflows/ruby-publish-workflow.yaml
index 605f0222..23155fcd 100644
--- a/.github/workflows/ruby-publish-workflow.yaml
+++ b/.github/workflows/ruby-publish-workflow.yaml
@@ -2,14 +2,14 @@ name: Ruby Publish
 'on':
   push:
     tags:
-      - 'ruby-*'
+      - ruby-*
 jobs:
   build:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v1
         with:
-          ref: main
+          ref: 3.6.2
       - uses: docker/login-action@v1
         with:
           registry: ghcr.io
@@ -17,4 +17,4 @@ jobs:
           password: ${{ secrets.SHINEOPENSOURCE_GITHUB_TOKEN }}
       - uses: ./.github/actions/ruby-publish-action
         env:
-          RUBYGEMS_TOKEN: '${{ secrets.SHINEOPENSOURCE_RUBYGEMS_TOKEN }}'
+          RUBYGEMS_TOKEN: ${{ secrets.SHINEOPENSOURCE_RUBYGEMS_TOKEN }}
diff --git a/clients/ruby/CHANGELOG.md b/clients/ruby/CHANGELOG.md
index 977881c8..31a43cd1 100644
--- a/clients/ruby/CHANGELOG.md
+++ b/clients/ruby/CHANGELOG.md
@@ -5,8 +5,7 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## Unreleased
-
+## 3.6.2 - 2021-09-27
 ### Fixed
 - Fix published gem versioning set in Ruby publish GH Action workflow
 
diff --git a/clients/ruby/conf/client.json b/clients/ruby/conf/client.json
index bec41d8b..06b9ab3e 100644
--- a/clients/ruby/conf/client.json
+++ b/clients/ruby/conf/client.json
@@ -1,7 +1,7 @@
 {
   "gemName": "swagger_aem",
   "moduleName": "SwaggerAemClient",
-  "gemVersion": "3.6.2-pre.0",
+  "gemVersion": "3.6.2",
   "gemAuthor": "Shine Solutions",
   "gemAuthorEmail": "opensource@shinesolutions.com",
   "gemHomepage": "https://github.com/shinesolutions/swagger-aem/tree/master/clients/ruby",