From 430654137c7ed2bb188e1fde661c0521123421a2 Mon Sep 17 00:00:00 2001 From: HassanAkbar Date: Fri, 10 Nov 2023 18:43:39 +0500 Subject: [PATCH] Adding release workflow (#112) * Adding release workflow * Update release.yaml Testing workflow run * Bumped version to 1.0.23 * updating file permission for publishing gem * Bumped version to 1.0.24 * Update version.rb * removed test code --- .github/workflows/release.yaml | 18 ++++++++++++++++++ lib/tractive/version.rb | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..13fe41a --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,18 @@ +name: release + +on: + workflow_dispatch: + inputs: + next_version: + description: | + Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc + required: true + default: 'skip' + +jobs: + release: + uses: metanorma/ci/.github/workflows/rubygems-release.yml@main + with: + next_version: ${{ github.event.inputs.next_version }} + secrets: + rubygems-api-key: ${{ secrets.RIBOSE_CI_RUBYGEMS_API_KEY }} diff --git a/lib/tractive/version.rb b/lib/tractive/version.rb index 6946320..6856c01 100644 --- a/lib/tractive/version.rb +++ b/lib/tractive/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Tractive - VERSION = "1.0.25" + VERSION = "1.0.26" end