Skip to content

Commit

Permalink
Release from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Jun 27, 2019
1 parent 0630a12 commit e1ce949
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- rvm: 2.3.8
gemfile: gemfiles/Gemfile.rails-master
include:
- stage: Beta release
- stage: Release
rvm: 2.6.3
script: echo "Deploy to rubygems.org..."
deploy:
Expand All @@ -38,6 +38,6 @@ jobs:
secure: g8icPMdxEmbpBzSRCDmR3uB+1Zhu7tGq3h0cVbGUka2Ni1NiEiQo3LCDzbMp+L7AXH5RhdsG9FTViIAyCy9YENqZ1+jzrQGeADx0KnJZb6F81/SyumeUld0zdkzDbe1aUCJWz2WnEk12aLMPLNPRmDE7wub+od7gJEEv2SsKObo=
gem: msgr
on:
branch: master
tags: true
repo: jgraichen/msgr

5 changes: 3 additions & 2 deletions msgr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.name = 'msgr'
spec.version = Msgr::VERSION
spec.authors = ['Jan Graichen']
spec.email = ['jg@altimos.de']
spec.email = ['jgraichen@altimos.de']
spec.description = 'Msgr: Rails-like Messaging Framework'
spec.summary = 'Msgr: Rails-like Messaging Framework'
spec.homepage = 'https://github.com/jgraichen/msgr'
Expand All @@ -25,7 +25,8 @@ Gem::Specification.new do |spec|

spec.add_development_dependency 'bundler'

if ENV['TRAVIS_BUILD_NUMBER']
if ENV['TRAVIS_BUILD_NUMBER'] && !ENV['TRAVIS_TAG']
# Append travis build number for auto-releases
spec.version = "#{spec.version}.1.b#{ENV['TRAVIS_BUILD_NUMBER']}"
end
end

0 comments on commit e1ce949

Please sign in to comment.