fastlane-plugin-xamversion 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3364551440aef60486857d372e7e8092810900a57d8fcd275885eb3792e2431a
4
- data.tar.gz: 6713488c6e712e722dea2d6b092f55920be8a06e5eabae20bbbb1dfd292de0f3
3
+ metadata.gz: a7a6498685f844b3e1a8e75d156e4ee70b1a87c275c44ec3999d49967f0624b3
4
+ data.tar.gz: a0c6bede5346ea0d320307623fe93558b99ba69bb05e75a602788ff4d006f11e
5
5
  SHA512:
6
- metadata.gz: 8efd7ef39540dc11c718fa1015c3ee24502f4715028e6d55654b77a059b64b002542b11e8244dc2a89377aa09121ea72c6575aa5f9abe66e7aa775f885b4d076
7
- data.tar.gz: 317d4dcebd1e944d02cf7b9cea9690422ef47f1dacf2f53cd01ab96cd43735e53ce317d25d6baa14a4c15bce5b16d4f70e0b859103be39d6e8c29d9bdbc91e8a
6
+ metadata.gz: bcad25cfe56df03810977508e69272cb55bb113cf544213abc12123d35ac194df4806c0a7c9c66abc4c38b63ccffea90bd50654bfb33ed3e80159ade7013b15e
7
+ data.tar.gz: 46c7b255ef13ef7e9c9860a2175a2828967adb93620368ae78fb89381080f84d49d4769c8164bf039ae636cc054d143ffe44d8f3dcde154ad17f1de976a4b01d
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
- # xamversion plugin
1
+ # Xamversion Fastlane Plugin
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-xamversion)
4
+ [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-xamversion.svg)](https://badge.fury.io/rb/fastlane-plugin-xamversion)
4
5
 
5
6
  ## Getting Started
6
7
 
@@ -12,27 +13,40 @@ fastlane add_plugin xamversion
12
13
 
13
14
  ## About xamversion
14
15
 
15
- Read and manipulate Android and iOS app versions.
16
-
17
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
16
+ Fastlane plugin to easily read and manipulate Xamarin Android and iOS app version and build numbers.
18
17
 
19
18
  ## Example
20
19
 
21
20
  Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
21
 
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
24
-
25
- ## Run tests for this plugin
26
-
27
- To run both the tests, and code style validation, run
28
-
29
- ```
30
- rake
31
- ```
32
-
33
- To automatically fix many of the styling issues, use
34
- ```
35
- rubocop -a
22
+ ```ruby
23
+ platform :ios do
24
+ desc "Just print the version and build"
25
+ lane :example do
26
+ xamversion
27
+ end
28
+
29
+ desc "Set version and/or build explicitly"
30
+ lane :example do
31
+ xamversion(
32
+ version: "1.2.0",
33
+ build: 20
34
+ )
35
+ end
36
+
37
+ desc "Interactively update the version following SemVer"
38
+ lane :example do
39
+ xamversion(bump: true)
40
+ end
41
+
42
+ desc "If Info.plist or AndroidManifest.xml cannot be found"
43
+ lane :example do
44
+ xamversion(
45
+ plist_path: "path/to/Info.plist",
46
+ manifest_path: "path/to/AndroidManifest.xml"
47
+ )
48
+ end
49
+ end
36
50
  ```
37
51
 
38
52
  ## Issues and Feedback
@@ -12,13 +12,6 @@ module Xamversion
12
12
  description: "App build number value",
13
13
  optional: true),
14
14
 
15
- FastlaneCore::ConfigItem.new(key: :readonly,
16
- env_name: "xamversion_READONLY",
17
- description: "Only print out current version and build",
18
- default_value: false,
19
- is_string: false,
20
- optional: true),
21
-
22
15
  FastlaneCore::ConfigItem.new(key: :bump,
23
16
  description: "Interactively bump version number",
24
17
  default_value: false,
@@ -26,27 +19,27 @@ module Xamversion
26
19
  optional: true),
27
20
 
28
21
  FastlaneCore::ConfigItem.new(key: :platform,
29
- env_name: "xamversion_PLATFORM",
22
+ env_name: "XAMVERSION_PLATFORM",
30
23
  description: "Targeted device platform (i.e. android, ios, osx)",
31
24
  optional: false),
32
25
 
33
26
  FastlaneCore::ConfigItem.new(key: :solution_path,
34
- env_name: "xamversion_SOLUTION_PATH",
27
+ env_name: "XAMVERSION_SOLUTION_PATH",
35
28
  description: "Path to the build solution (sln) file",
36
29
  optional: true),
37
30
 
38
31
  FastlaneCore::ConfigItem.new(key: :project_path,
39
- env_name: "xamversion_PROJECT_PATH",
32
+ env_name: "XAMVERSION_PROJECT_PATH",
40
33
  description: "Path to the build project (csproj) file",
41
34
  optional: true),
42
35
 
43
36
  FastlaneCore::ConfigItem.new(key: :manifest_path,
44
- env_name: "xamversion_ANDROID_MANIFEST_PATH",
37
+ env_name: "XAMVERSION_ANDROID_MANIFEST_PATH",
45
38
  description: "Path to the android manifest (xml) file",
46
39
  optional: true),
47
40
 
48
41
  FastlaneCore::ConfigItem.new(key: :plist_path,
49
- env_name: "xamversion_IOS_PLIST_PATH",
42
+ env_name: "XAMVERSION_IOS_PLIST_PATH",
50
43
  description: "Path to the iOS plist file",
51
44
  optional: true)
52
45
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Xamversion
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xamversion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Barnby