docker: image: yegor256/rultor-image:1.22.0 assets: rubygems.yml: yegor256/home#assets/rubygems.yml install: | pdd -f /dev/null bundle install --no-color release: pre: false script: |- [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 bundle exec rake rm -rf *.gem sed -i "s/0\.0\.0/${tag}/g" lib/pdd/version.rb git add lib/pdd/version.rb git commit -m "version set to ${tag}" gem build pdd.gemspec chmod 0600 ../rubygems.yml gem push *.gem --config-file ../rubygems.yml merge: script: |- LC_ALL=US-ASCII bundle exec rake