From a7486b07979cf2dc69309276a47a897f5d8e6e58 Mon Sep 17 00:00:00 2001 From: armandfardeau Date: Thu, 20 Apr 2023 14:19:24 +0200 Subject: [PATCH] Fix publish --- .github/workflows/ci_cleaner.yml | 10 ++-------- Gemfile.lock | 2 +- lib/decidim/cleaner/version.rb | 2 +- spec/lib/decidim/cleaner/version_spec.rb | 2 +- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci_cleaner.yml b/.github/workflows/ci_cleaner.yml index 9cdced9..320845d 100644 --- a/.github/workflows/ci_cleaner.yml +++ b/.github/workflows/ci_cleaner.yml @@ -74,18 +74,12 @@ jobs: - uses: OpenSourcePolitics/rspec-action@master with: command: "bundle exec rspec spec/system" - release: + publish: if: "github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release' )" needs: [tests, system_tests, lint] runs-on: ubuntu-latest - steps: - - uses: OpenSourcePolitics/release-gem-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish: - needs: release - runs-on: ubuntu-latest steps: - uses: OpenSourcePolitics/publish-gem-action@master with: + github_token: ${{ secrets.GITHUB_TOKEN }} rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }} \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index e9ea8de..d8bad58 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -174,7 +174,7 @@ GIT PATH remote: . specs: - decidim-cleaner (4.1.1) + decidim-cleaner (4.1.2) decidim-core (~> 0.28.dev) GEM diff --git a/lib/decidim/cleaner/version.rb b/lib/decidim/cleaner/version.rb index a24ce04..0944cca 100644 --- a/lib/decidim/cleaner/version.rb +++ b/lib/decidim/cleaner/version.rb @@ -5,7 +5,7 @@ module Decidim # This holds the decidim-meetings version. module Cleaner def self.version - "4.1.1" + "4.1.2" end def self.compatible_decidim_version diff --git a/spec/lib/decidim/cleaner/version_spec.rb b/spec/lib/decidim/cleaner/version_spec.rb index 649f041..5a21b61 100644 --- a/spec/lib/decidim/cleaner/version_spec.rb +++ b/spec/lib/decidim/cleaner/version_spec.rb @@ -7,7 +7,7 @@ module Decidim subject { described_class } it "has version" do - expect(subject.version).to eq("4.1.1") + expect(subject.version).to eq("4.1.2") end it "has decidim version compatibility" do