diff --git a/.ruby-version b/.ruby-version index 2714f53..ec1cf33 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.4 +2.6.3 diff --git a/.travis.yml b/.travis.yml index 304c64c..d8599d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ language: ruby -dist: xenial +dist: bionic services: - xvfb rvm: - - 2.6.4 + - 2.6.3 env: - RAILS_VERSION=6.0.0 @@ -19,7 +19,7 @@ addons: cache: directories: - - /home/travis/.rvm/gems/ruby-2.6.4 + - /home/travis/.rvm/gems/ruby-2.6.3 install: ./ci/build.sh @@ -29,6 +29,7 @@ jobs: include: - stage: publish components script: 'cd rswag-api' + if: tags = true deploy: gemspec: rswag-api.gemspec provider: rubygems @@ -39,6 +40,7 @@ jobs: - stage: publish components script: 'cd rswag-specs' + if: tags = true deploy: gemspec: rswag-specs.gemspec provider: rubygems @@ -49,6 +51,7 @@ jobs: - stage: publish components script: 'cd rswag-ui' + if: tags = true deploy: gemspec: rswag-ui.gemspec provider: rubygems @@ -60,6 +63,7 @@ jobs: - stage: publish rswag script: 'cd rswag' + if: tags = true deploy: gemspec: rswag.gemspec provider: rubygems