+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 22190 + echo '1.67.2 b60448e97' 1.67.2 b60448e97 + date Wed Apr 18 16:09:54 CEST 2018 + uptime 16:09:54 up 24 days, 19:42, 0 users, load average: 0.03, 0.17, 0.12 + head=git@github.com:yegor256/xcop.git + ff=default + image=yegor256/rultor + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.6 + vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.6' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.6'\''' ';' 'export '\''head_branch=master'\''' ';' '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' ';') + directory= + container=yegor256_xcop_23 + 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 '\''tag=0.6'\''' ';' 'export '\''head_branch=master'\''' ';' '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.6 ']' + [[ 0.6 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.6"' tag name is valid: "0.6" + cd repo ++ git tag -l 0.6 + '[' ']' + 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.12 ++ echo 0.12 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.12, low enough to run a new Docker container' load average is 0.12, 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:8b4eab748146c028656b8e993a41fee1d02ffc63b9ddf8e92ab43223dfc6feff Status: Image is up to date for yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_xcop_23\s*$' + ls -al . total 56 drwx--x--x 3 rultor rultor 4096 Apr 18 16:09 . drwxrwxrwt 10 root root 12288 Apr 18 16:09 .. -rw-rw-r-- 1 rultor rultor 444 Apr 18 16:09 end.sh -rwxrwxr-x 1 rultor rultor 338 Apr 18 16:09 entry.sh -rw-rw-r-- 1 rultor rultor 6 Apr 18 16:09 pid drwxrwxr-x 8 rultor rultor 4096 Apr 18 16:09 repo -rw-rw-r-- 1 rultor rultor 56 Apr 18 16:09 rubygems.yml -rwxrwxr-x 1 rultor rultor 5441 Apr 18 16:09 run.sh -rw-rw-r-- 1 rultor rultor 98 Apr 18 16:09 s3cfg -rw-rw-r-- 1 rultor rultor 561 Apr 18 16:09 script.sh -rw-rw-r-- 1 rultor rultor 3806 Apr 18 16:09 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-UvPy:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.6 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-UvPy/cid -w=/main --name=yegor256_xcop_23 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 tag=0.6 + tag=0.6 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + sudo -i apt-get -y update Get:1ohttp://ppa.launchpad.net trusty InRelease [15.4 kB] Get:2[http://security.ubuntu.comitrusty-security[InReleasen[65.9pkB]launchpad.n Get:3 http://ppa.launchpad.net trusty InRelease [15.5 kB] Ign http://ppa.launchpad.net precise InRelease Get:4 https://deb.nodesource.com trusty InRelease Hit%http://ppa.launchpad.netkprecisetRelease.gpgders] Hit%http://ppa.launchpad.netkprecisetRelease headers] Ign%http://archive.ubuntu.comBtrustytInReleaseeaders] [Connecting to ppa.launch Get:5[http://archive.ubuntu.com trusty-updates InReleaseh[65.9ekB]91.189.95.83) Get:6 http://ppa.launchpad.net trusty/main amd64 Packages [3477 B] Hit%http://archive.ubuntu.comBtrusty-backports5InRelease9kkB2100%]6 Packages 34 Get:7[http://security.ubuntu.comWtrusty-security/universetSources [86.5rkB] Hit%https://deb.nodesource.comStrusty/mainaSources7kBo100%]a[Waiting6forkheader Get:8[http://ppa.launchpad.netRtrusty/mainoamd64kPackagesi[3146rB]eaders]s[Wait Get:9[https://deb.nodesource.com[trusty/main5amd64rPackagesingoforeheaders]W[Co Get:105http://security.ubuntu.comWtrusty-security/main[amd64nPackagesa[907]kB]o Hit http://ppa.launchpad.net0precise/main5amd64rPackagesackagesi205fkB/907dkBs2 Hit http://archive.ubuntu.com[trustygRelease.gpgs] [10 Packages 407 kB/907 kB 4 Get:111http://archive.ubuntu.cometrusty-updates/universeiSourcesh[250rkB][Waiti Get:12Whttp://security.ubuntu.comntrusty-security/restrictedhamd64sPackagess[18.1 kB] Get:13Whttp://archive.ubuntu.comitrusty-updates/mainiamd64fPackagesr[1330 kB] Get:14Whttp://archive.ubuntu.comitrusty-updates/restrictedfamd64aPackages [21.4 kB] Get:15Whttp://security.ubuntu.comntrusty-security/universefamd64aPackages [285 kB] Get:16ahttp://archive.ubuntu.comctrusty-updates/universe amd64 Packages [581 kB] Get:176http://archive.ubuntu.comgtrusty-updates/multiversesamd64kPackages [16.0 kB] Hit%http://archive.ubuntu.comitrustyoReleasers][[Waitinggfor2headers]5 kB291%]2 Hit%http://archive.ubuntu.comatrusty-backports/mainaamd64gPackagesers]][[Waitin Get:18 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4718 B] Hit%http://archive.ubuntu.comitrusty-backports/restricted amd64 Packages Hit%http://archive.ubuntu.com trusty-backports/universe amd64 Packages Hit%http://archive.ubuntu.comftrusty-backports/multiverse amd64 Packages Hit%http://archive.ubuntu.com trusty/universe Sources Hit%http://archive.ubuntu.comotrusty/main amd64 Packages Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages Hit%http://archive.ubuntu.com trusty/universe amd64 Packages Hit%http://archive.ubuntu.comftrusty/multiverse amd64 Packages Fetchedo3674gkB0in]5sB(684 kB/s) Reading package lists... Done 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) W: You may want to run apt-get update to correct these problems + 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: rainbow-3.0.0.gem (100%) Successfully installed rainbow-3.0.0 Fetching: slop-4.6.1.gem (100%) Successfully installed slop-4.6.1 Fetching: pdd-0.20.3.gem (100%) Successfully installed pdd-0.20.3 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 rainbow-3.0.0 Installing ri documentation for rainbow-3.0.0 Parsing documentation for slop-4.6.1 Installing ri documentation for slop-4.6.1 Parsing documentation for pdd-0.20.3 Installing ri documentation for pdd-0.20.3 Done installing documentation for mini_portile2, nokogiri, rainbow, slop, 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.10m Using mini_portile2 2.3.0 32mInstalling crass 1.0.40m 32mInstalling rack 2.0.40m 32mInstalling ast 2.4.00m 32mInstalling json 1.8.6 with native extensions0m 32mInstalling docile 1.3.00m 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 Using rainbow 3.0.0 32mInstalling rspec-support 3.1.20m 32mInstalling ruby-progressbar 1.9.00m 32mInstalling unicode-display_width 1.3.00m 32mInstalling slop 4.6.20m Using bundler 1.11.2 32mInstalling i18n 1.0.10m 32mInstalling tzinfo 1.2.50m Using nokogiri 1.8.2 32mInstalling rack-test 1.0.00m 32mInstalling parser 2.5.1.00m 32mInstalling rdoc 4.2.00m 32mInstalling simplecov 0.16.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.2.00m 32mInstalling loofah 2.2.20m 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.40m 32mInstalling rubocop-rspec 1.5.10m 32mInstalling actionview 5.2.00m 32mInstalling actionpack 5.2.00m 32mInstalling railties 5.2.00m 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 35813 # Running: 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.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.0m Finished in 0.005834s, 1371.3041 runs/s, 1371.3041 assertions/s. 8 runs, 8 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 85 / 94 LOC (90.43%) 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/test20180418-13461-144tk0v/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.139s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 85 / 94 LOC (90.43%) 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.6/g' lib/xcop/version.rb + git add lib/xcop/version.rb + git commit -m 'version set to 0.6' [__rultor 499c15c] version set to 0.6 1 file changed, 1 insertion(+), 1 deletion(-) + gem build xcop.gemspec Successfully built RubyGem Name: xcop Version: 0.6 File: xcop-0.6.gem + chmod 0600 ../rubygems.yml + gem push xcop-0.6.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: xcop (0.6) + 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.6 -m '0.6: tagged by rultor.com' + git reset --hard HEAD is now at 499c15c version set to 0.6 + 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 499c15c). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:yegor256/xcop.git * [new tag] 0.6 -> 0.6 container 970e3951722b97e6e59615f9d76612693bb12b33897aec8e7c0ceb4a71d6bfd5 is dead Wed Apr 18 16:12:40 CEST 2018