Skip to content

Commit 77a02c8

Browse files
committed
Add support for Samus (http://github.com/lsegal/samus)
1 parent 36b7108 commit 77a02c8

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ group :development do
55
gem 'rake'
66
gem 'rvm-tester'
77
gem 'simplecov'
8+
gem 'samus'
89
end
910

1011
group :asciidoc do

samus.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"actions": [
3+
{
4+
"action": "fs-sedfiles",
5+
"files": ["lib/*/version.rb"],
6+
"arguments": {
7+
"search": "VERSION = ['\"](.+?)['\"]",
8+
"replace": "VERSION = '$version'"
9+
}
10+
},
11+
{
12+
"action": "git-commit",
13+
"files": ["lib/*/version.rb"]
14+
},
15+
{
16+
"action": "git-merge",
17+
"arguments": {
18+
"branch": "master"
19+
}
20+
},
21+
{
22+
"action": "archive-git-full",
23+
"files": ["git.tgz"],
24+
"publish": [{
25+
"action": "git-push",
26+
"arguments": {
27+
"remotes": "origin",
28+
"refs": "master v$version"
29+
}
30+
}]
31+
},
32+
{
33+
"action": "gem-build",
34+
"files": ["*.gemspec"],
35+
"publish": [
36+
{
37+
"action": "gem-push",
38+
"files": ["*.gem"],
39+
"credentials": "lsegal.rubygems"
40+
}
41+
]
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)