Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI command to print managed SwiftLint version #32

Merged
merged 2 commits into from
Mar 14, 2017

Conversation

mokagio
Copy link
Collaborator

@mokagio mokagio commented Mar 14, 2017

As discussed in https://github.com/ashfurrow/danger-swiftlint/issues/31, this PR add a mini CLI to print the version of the managed SwiftLint binary, as well as one printing the plugin version, because why not.

In context with what discussed in the issues it also sets the plugin version to 0.4.0.

mokagio added 2 commits March 14, 2017 16:38
We have two commands:

- version, the plugin version
- swiftlint_version, the version of the SwiftLint binary used by the
plugin
@@ -1,4 +1,4 @@
module DangerSwiftlint
VERSION = "0.16.1".freeze
VERSION = "0.4.0".freeze
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone else following along, this is fine because 0.16.1 was never released to RubyGems.org so we're fine to "go backward" in semver.

@ashfurrow ashfurrow merged commit c92358f into master Mar 14, 2017
@ashfurrow ashfurrow deleted the swiftlint-version branch March 14, 2017 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants