Permalink
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...
1 parent 07756eb commit 7fc98c8175635ac31fc8ae8c5bb15020952e6a9e @lsegal committed Feb 2, 2014
Showing with 44 additions and 0 deletions.
  1. +44 −0 samus.json
View
@@ -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.