+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 7280 + echo '1.67 34c399f8f' 1.67 34c399f8f + date Sat Feb 3 14:29:04 CET 2018 + uptime 14:29:04 up 220 days, 16:29, 0 users, load average: 0.10, 0.05, 0.01 + head=git@github.com:yegor256/xcop.git + head_branch=master + tag=0.5.8 + author=yegor256 + scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''tag=0.5.8'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=head_branch=master' '--env=tag=0.5.8' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.8'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )') + image=yegor256/rultor + directory= + squash=false + ff=default + rebase=false + container=yegor256_xcop_21 + as_root=false + mkdir -p /home/rultor/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/rultor/.ssh/config + git clone git@github.com:yegor256/xcop.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/xcop.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''tag=0.5.8'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + rm -rf .gpg + '[' -z 0.5.8 ']' + [[ 0.5.8 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.5.8"' tag name is valid: "0.5.8" + cd repo ++ git tag -l 0.5.8 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=0.01 ++ echo 0.01 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.01, low enough to run a new Docker container' load average is 0.01, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest latest: Pulling from yegor256/rultor Digest: sha256:0a95632cd2470ed0d231f69bef5c0c1c0994bab524a0b57e9c1198537d5dc677 Status: Image is up to date for yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_xcop_21\s*$' + ls -al . total 48 drwx--x--x 3 rultor rultor 4096 Feb 3 14:29 . drwxrwxrwt 21 root root 4096 Feb 3 14:29 .. -rw-rw-r-- 1 rultor rultor 444 Feb 3 14:29 end.sh -rwxrwxr-x 1 rultor rultor 338 Feb 3 14:29 entry.sh -rw-rw-r-- 1 rultor rultor 5 Feb 3 14:29 pid drwxrwxr-x 7 rultor rultor 4096 Feb 3 14:29 repo -rw-rw-r-- 1 rultor rultor 56 Feb 3 14:28 rubygems.yml -rwxrwxr-x 1 rultor rultor 5447 Feb 3 14:29 run.sh -rw-rw-r-- 1 rultor rultor 98 Feb 3 14:29 s3cfg -rw-rw-r-- 1 rultor rultor 563 Feb 3 14:29 script.sh -rw-rw-r-- 1 rultor rultor 3821 Feb 3 14:29 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-SoBo:/main --env=head=git@github.com:yegor256/xcop.git --env=head_branch=master --env=tag=0.5.8 --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.8'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-SoBo/cid -w=/main --name=yegor256_xcop_21 yegor256/rultor /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.oracle_jre_usage /root/.profile /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /home/r/script.sh + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:yegor256/xcop.git + head=git@github.com:yegor256/xcop.git + export head_branch=master + head_branch=master + export tag=0.5.8 + tag=0.5.8 + export author=yegor256 + author=yegor256 + sudo -i apt-get -y update Hit[http://ppa.launchpad.net trusty InRelease Ign[http://archive.ubuntu.comttrustyrInRelease [Connecting to ppa.launchpad.net Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB] Hit http://archive.ubuntu.com trusty-backports InRelease Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB] Hit http://ppa.launchpad.net trusty InRelease Ign http://ppa.launchpad.net precise InRelease Hit https://deb.nodesource.com trusty InRelease Hit%http://archive.ubuntu.com trusty Release.gpg Hit%http://archive.ubuntu.com trustynReleaseeaders] Hit%http://ppa.launchpad.net]precisenRelease.gpgrs] Hit%http://ppa.launchpad.net]precise Release Hit%http://ppa.launchpad.netktrusty/mainiamd64 Packageschpad.net (91.189.95.83) Get:3[http://archive.ubuntu.comWtrusty-updates/universe Sources [246 kB] Get:4[http://archive.ubuntu.comatrusty-updates/mainaamd64 Packagese[1309 kB] Get:5[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB] Get:6[http://archive.ubuntu.comRtrusty-updates/universePamd64ePackages/[569 kB] Get:7[http://archive.ubuntu.comltrusty-updates/multiversenamd64 Packages6[16.01kB] Get:8[http://security.ubuntu.cometrusty-security/universenSourcese[80.7]kB]aiti Hit http://archive.ubuntu.cometrusty-backports/mainWamd64gPackagesders] [8 Sour Hit%http://archive.ubuntu.comRtrusty-backports/restrictednamd64 Packages [8 Sou Hit%http://archive.ubuntu.com trusty-backports/universe amd64 Packages Hit%http://archive.ubuntu.comRtrusty-backports/multiverse amd64 Packages Get:9[http://security.ubuntu.com trusty-security/main amd64 Packages [876 kB] Hit http://ppa.launchpad.netetrusty/main4amd64]Packagesages 49.1 kB/876 kB 6%] Get:109http://security.ubuntu.comstrusty-security/restrictedramd64ePackages5[18.1 kB] Get:119http://security.ubuntu.comstrusty-security/universegamd640Packages [2562kB] Hit%https://deb.nodesource.comatrusty/mainkSourcesBP99%]gess1755kB/2566kBB68%] Get:129http://security.ubuntu.comatrusty-security/multiverse amd64 Packages [4718 B] Hit%http://archive.ubuntu.com trusty/universe Sources Hit%https://deb.nodesource.com trusty/main amd64 Packages Hit%http://archive.ubuntu.comitrusty/mainaamd64aPackagesing.to1ppa.launchpad.ne Hit%http://archive.ubuntu.comitrusty/restricted amd64iPackageseaders] Hit http://ppa.launchpad.net precise/main amd64 Packages Hit%http://archive.ubuntu.com trusty/universe amd64 Packages Hit%http://archive.ubuntu.com trusty/multiverse amd64 Packages Fetchedo3529gkB0in]3sB(1027 kB/s) Reading package lists... Done W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_source_Sources.gz is not what the server reported 80655 80661 W: Duplicate sources.list entry http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages.gz) + sudo -i gem install pdd Fetching: mini_portile2-2.3.0.gem (100%) Successfully installed mini_portile2-2.3.0 Fetching: nokogiri-1.8.2.gem (100%) Building native extensions. This could take a while... Successfully installed nokogiri-1.8.2 Fetching: slop-4.6.1.gem (100%) Successfully installed slop-4.6.1 Fetching: rainbow-2.2.2.gem (100%) Building native extensions. This could take a while... Successfully installed rainbow-2.2.2 Fetching: pdd-0.20.gem (100%) Successfully installed pdd-0.20 Parsing documentation for mini_portile2-2.3.0 Installing ri documentation for mini_portile2-2.3.0 Parsing documentation for nokogiri-1.8.2 Installing ri documentation for nokogiri-1.8.2 Parsing documentation for slop-4.6.1 Installing ri documentation for slop-4.6.1 Parsing documentation for rainbow-2.2.2 Installing ri documentation for rainbow-2.2.2 Parsing documentation for pdd-0.20 Installing ri documentation for pdd-0.20 Done installing documentation for mini_portile2, nokogiri, slop, rainbow, pdd after 14 seconds 5 gems installed + bundle install Fetching gem metadata from https://rubygems.org/............ Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies........ 32mInstalling rake 12.0.00m 32mInstalling concurrent-ruby 1.0.50m 32mInstalling minitest 5.5.00m 32mInstalling thread_safe 0.3.60m 32mInstalling builder 3.2.30m 32mInstalling erubi 1.7.00m Using mini_portile2 2.3.0 32mInstalling crass 1.0.30m 32mInstalling rack 2.0.40m 32mInstalling ast 2.4.00m 32mInstalling json 1.8.6 with native extensions0m 32mInstalling docile 1.1.50m 32mInstalling simplecov-html 0.10.20m 32mInstalling url 0.3.20m 32mInstalling diff-lcs 1.30m 32mInstalling multi_json 1.13.10m 32mInstalling multi_test 0.1.20m 32mInstalling differ 0.1.20m 32mInstalling method_source 0.9.00m 32mInstalling parallel 1.12.10m 32mInstalling powerpack 0.1.10m 32mInstalling thor 0.20.00m 32mInstalling rainbow 3.0.00m 32mInstalling rspec-support 3.1.20m 32mInstalling ruby-progressbar 1.9.00m 32mInstalling unicode-display_width 1.3.00m Using slop 4.6.1 Using bundler 1.11.2 32mInstalling i18n 0.9.30m 32mInstalling tzinfo 1.2.40m Using nokogiri 1.8.2 32mInstalling rack-test 0.8.20m 32mInstalling parser 2.4.0.20m 32mInstalling rdoc 4.2.00m 32mInstalling simplecov 0.15.10m 32mInstalling gherkin 2.12.2 with native extensions0m 32mInstalling rspec-core 3.1.70m 32mInstalling rspec-expectations 3.1.20m 32mInstalling rspec-mocks 3.1.30m 32mInstalling activesupport 5.1.40m 32mInstalling loofah 2.1.10m Using xcop 1.0.snapshot from source at `.` 32mInstalling rubocop 0.52.00m 32mInstalling codecov 0.1.100m 32mInstalling cucumber 1.3.170m 32mInstalling rails-dom-testing 2.0.30m 32mInstalling rails-html-sanitizer 1.0.30m 32mInstalling rubocop-rspec 1.5.10m 32mInstalling actionview 5.1.40m 32mInstalling actionpack 5.1.40m 32mInstalling railties 5.1.40m 32mInstalling rspec-rails 3.1.00m 32mBundle complete! 9 Gemfile dependencies, 52 gems now installed.0m 32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m 32mPost-install message from rdoc:0m Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! + rake Run options: --seed 17033 # Running: 32m.0mRunning xcop... Inspecting 1 file... 31m<z><a><b></b></a>\n \n </z>0m32m<?xml version="1.0"?>\n <z>\n <a>\n <b/>\n </a>\n </z>\n0m Invalid XML formatting in broken.xml 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 0.005439s, 1470.9435 runs/s, 1470.9435 assertions/s. 8 runs, 8 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 83 / 91 LOC (91.21%) covered. /usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber /usr/local/rvm/gems/ruby-2.3.3/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name Using the default profile... Feature: Command Line Processing As an author of XML I want to be able to call XCOP as a command line tool Scenario: Help can be printed90m # features/cli.feature:50m 32mWhen I run bin/xcop with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:560m0m Scenario: Version can be printed90m # features/cli.feature:100m 32mWhen I run bin/xcop with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m Scenario: Validating correct XML file90m # features/cli.feature:140m 32mGiven I have a "32m1mtest.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <?xml version="1.0"?>0m 32m <hello>Hello, world!</hello>0m 32m0m 32m """0m 32mWhen I run bin/xcop with "32m1mtest.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Stdout contains "32m1mtest.xml looks good0m0m32m"90m # features/step_definitions/steps.rb:560m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:660m0m Scenario: Validating correct XML file with license90m # features/cli.feature:250m 32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <?xml version="1.0"?>0m 32m <!--0m 32m This is the license,0m 32m which is very very strict!0m 32m -->0m 32m <hello>Hello, world!</hello>0m 32m0m 32m """0m 32mAnd I have a "32m1mLICENSE0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m This is the license,0m 32m which is very very strict!0m 32m """0m 32mWhen I run bin/xcop with "32m1m--quiet --license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Stdout is empty90m # features/step_definitions/steps.rb:620m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:660m0m Scenario: Validating incorrect XML file90m # features/cli.feature:450m 32mGiven I have a "32m1mabc.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <a><b>something</b>0m 32m </a>0m 32m """0m 32mWhen I run bin/xcop with "32m1mabc.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:700m0m Scenario: Validating correct XML file with broken license90m # features/cli.feature:540m 32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <?xml version="1.0"?>0m 32m <!--0m 32m This is the wrong license!0m 32m -->0m 32m <hello>Hello, world!</hello>0m 32m0m 32m """0m 32mAnd I have a "32m1mLICENSE0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m This is the right license.0m 32m """0m 32mWhen I run bin/xcop with "32m1m--license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mAnd Stdout contains "32m1mBroken license0m0m32m"90m # features/step_definitions/steps.rb:560m0m 32mAnd Exit code is not zero90m # features/step_definitions/steps.rb:700m0m Scenario: Fixing incorrect XML file90m # features/cli.feature:720m 32mGiven I have a "32m1mbroken.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <a><b>something</b>0m 32m </a>0m 32m """0m 32mWhen I run bin/xcop with "32m1m--fix broken.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m 32mThen I run bin/xcop with "32m1mbroken.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged90m # features/gem_package.feature:50m 32mGiven It is Unix90m # features/step_definitions/steps.rb:860m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m #!/usr/bin/env ruby0m 32m require 'rubygems'0m 32m spec = Gem::Specification::load('./spec.rb')0m 32m if spec.executables.empty?0m 32m fail 'no executables: ' + File.read('./spec.rb')0m 32m end0m 32m """0m /tmp/test20180203-13467-12w7e0b/xcop/lib/xcop/version.rb:26: warning: already initialized constant Xcop::VERSION /home/r/repo/lib/xcop/version.rb:26: warning: previous definition of VERSION was here 32mWhen I run bash with:90m # features/step_definitions/steps.rb:800m0m 32m """0m 32m cd xcop0m 32m gem build xcop.gemspec0m 32m gem specification --ruby xcop-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m Feature: Rake tasks As a source code writer I want to be able to run Xcop from Rakefile Scenario: Xcop can be used in Rakefile90m # features/rake.feature:50m 32mGiven It is Unix90m # features/step_definitions/steps.rb:860m0m 32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m require 'xcop/rake_task'0m 32m Xcop::RakeTask.new(:xcop) do |task|0m 32m task.includes = ['good.xml']0m 32m end0m 32m """0m 32mAnd I have a "32m1mgood.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m <?xml version="1.0"?>0m 32m <hello>Hello, world!</hello>0m 32m0m 32m """0m 32mWhen I run bash with "32m1mrake xcop0m0m32m"90m # features/step_definitions/steps.rb:740m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:660m0m 9 scenarios (32m9 passed0m) 36 steps (32m36 passed0m) 0m4.136s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 83 / 91 LOC (91.21%) covered. Running RuboCop... .rubocop.yml: Style/MultilineMethodCallIndentation has the wrong namespace - should be Layout Inspecting 11 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 11 files inspected, 32mno offenses0m detected grep -q -r '2017-2018' --include '*.rb' --include '*.txt' --include 'Rakefile' . + rm -rf '*.gem' + sed -i 's/1\.0\.snapshot/0.5.8/g' lib/xcop/version.rb + git add lib/xcop/version.rb + git commit -m 'version set to 0.5.8' [__rultor e7441ef] version set to 0.5.8 1 file changed, 1 insertion(+), 1 deletion(-) + gem build xcop.gemspec Successfully built RubyGem Name: xcop Version: 0.5.8 File: xcop-0.5.8.gem + chmod 0600 ../rubygems.yml + gem push xcop-0.5.8.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: xcop (0.5.8) + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.5.8 -m '0.5.8: tagged by rultor.com' + git reset --hard HEAD is now at e7441ef version set to 0.5.8 + git clean -fd + git checkout master Switched to branch 'master' Your branch is up-to-date with 'origin/master'. + git branch -D __rultor Deleted branch __rultor (was e7441ef). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:yegor256/xcop.git * [new tag] 0.5.8 -> 0.5.8 container 593eb0511ae5ed1d6e4dbf45c4b4c4a5f7703826d8a4663877cfda3109aa3b6c is dead Sat Feb 3 14:31:37 CET 2018