Skip to content

Commit

Permalink
I heard you like publishing tools...
Browse files Browse the repository at this point in the history
so I put a publishing tool in your publishing tool so you can
publish a tool that publishes tools.
  • Loading branch information
lsegal committed Feb 2, 2014
1 parent 07756eb commit 7fc98c8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions samus.json
@@ -0,0 +1,44 @@
{
"actions": [
{
"action": "fs-sedfiles",
"files": ["lib/samus/version.rb"],
"arguments": {
"search": "VERSION = ['\"](.+?)['\"]",
"replace": "VERSION = '$version'"
}
},
{
"action": "git-commit",
"files": ["lib/samus/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 7fc98c8

Please sign in to comment.