Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
I heard you like publishing tools...
so I put a publishing tool in your publishing tool so you can publish a tool that publishes tools.
- Loading branch information
@@ -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" | ||
} | ||
] | ||
} | ||
] | ||
} |