-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtworingtools.gemspec
40 lines (40 loc) · 2.16 KB
/
tworingtools.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Gem::Specification.new do |s|
s.name = 'tworingtools'
s.version = '6.2.0'
s.date = '2020-08-20'
s.summary = 'A collection of command line tools.'
s.description = <<-DESC
- xcsims: Delete all simulators and recreate one for each compatible platform and device type pairing.
- sync-git-remotes: Make sure all your GitHub repos are cloned into a given directory and keep them synced with upstream. Forks are maintained with a remote for both the fork and upstream, both remotes' default branches are tracked in local counterparts, and the upstream default branch is also pushed to the fork.
- changetag: Extract changelog entries to write into git tag annotation messages.
- prerelease-podspec: Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it.
- release-podspec: Create a tag with the version and push it to repo origin, push podspec to CocoaPods trunk.
- revert-failed-release-tag: In case `release-podspec` fails, make sure the tag it may have created/pushed is destroyed before trying to run it again after fixing, so it doesn't break due to the tag already existing the second time around.
- bumpr: Increment the desired part of a version number (major/minor/patch/build) and write the change to a git commit.
- clean-rc-tags: deletes any release candidate tags leftover after prerelease testing.
- migrate-changelog: for a changelog adhering to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), move any contents under Unreleased to a new section for a new version with the current date.
DESC
s.authors = ['Andrew McKnight']
s.email = '[email protected]'
s.files = [
'lib/echoexec.rb',
'lib/errors.rb',
'lib/git_check.rb',
'lib/git_helpers.rb',
]
s.executables = [
'clean-rc-tags',
'xcsims',
'sync-git-remotes',
'changetag',
'prerelease-podspec',
'release-podspec',
'revert-failed-release-tag',
'bumpr',
'migrate-changelog',
]
s.homepage = 'https://github.com/TwoRingSoft/tools'
s.license = 'MIT'
s.add_runtime_dependency 'octokit', '~> 4.20.0'
s.add_runtime_dependency 'json', '~> 2.1'
end