Skip to content

Commit

Permalink
Add support for Samus (http://github.com/lsegal/samus)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Feb 2, 2014
1 parent 36b7108 commit 77a02c8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -5,6 +5,7 @@ group :development do
gem 'rake'
gem 'rvm-tester'
gem 'simplecov'
gem 'samus'
end

group :asciidoc do
Expand Down
44 changes: 44 additions & 0 deletions samus.json
@@ -0,0 +1,44 @@
{
"actions": [
{
"action": "fs-sedfiles",
"files": ["lib/*/version.rb"],
"arguments": {
"search": "VERSION = ['\"](.+?)['\"]",
"replace": "VERSION = '$version'"
}
},
{
"action": "git-commit",
"files": ["lib/*/version.rb"]
},
{
"action": "git-merge",
"arguments": {
"branch": "master"
}
},
{
"action": "archive-git-full",
"files": ["git.tgz"],
"publish": [{
"action": "git-push",
"arguments": {
"remotes": "origin",
"refs": "master v$version"
}
}]
},
{
"action": "gem-build",
"files": ["*.gemspec"],
"publish": [
{
"action": "gem-push",
"files": ["*.gem"],
"credentials": "lsegal.rubygems"
}
]
}
]
}

0 comments on commit 77a02c8

Please sign in to comment.