Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} | ||
] | ||
} |