Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
armandfardeau committed Apr 20, 2023
1 parent 33f67ec commit a7486b0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci_cleaner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ GIT
PATH
remote: .
specs:
decidim-cleaner (4.1.1)
decidim-cleaner (4.1.2)
decidim-core (~> 0.28.dev)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/decidim/cleaner/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/decidim/cleaner/version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7486b0

Please sign in to comment.