{ "actions": [ { "action": "fs-sedfiles", "files": [ "lib/*/version.rb" ], "arguments": { "search": "VERSION = ['\"](.+?)['\"]", "replace": "VERSION = '$version'" } }, { "action": "changelog-rotate", "files": [ "CHANGELOG.md" ], "arguments": { "title_format": "$version - %B %-d$day_nth, %Y", "tz": "GMT+8" } }, { "action": "chmod-files", "files": [ "**/*,644", "bin/*,755", "commands/**/*,755", "commands/**/*.md,644" ] }, { "action": "git-commit", "files": [ "CHANGELOG.md", "lib/*/version.rb" ] }, { "action": "git-merge", "arguments": { "branch": "main" } }, { "action": "git-clone", "files": [ "git-repo" ], "publish": [ { "action": "git-push", "credentials": "lsegal.github.ssh", "arguments": { "remotes": "origin", "refs": "main v$version" } } ] }, { "action": "gem-build", "files": [ "*.gemspec" ], "publish": [ { "action": "gem-push", "files": [ "*.gem" ], "credentials": "lsegal.rubygems" } ] }, { "action": "changelog-parse", "files": [ "CHANGELOG.md" ], "publish": [ { "action": "github-release", "credentials": "lsegal.github", "files": [], "arguments": { "repository": "lsegal/samus", "tag": "v$version", "changelog": "CHANGELOG.md" } } ] } ] }