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 +4 -4
- data/README.md +31 -17
- data/lib/fastlane/plugin/xamversion/options.rb +5 -12
- data/lib/fastlane/plugin/xamversion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7a6498685f844b3e1a8e75d156e4ee70b1a87c275c44ec3999d49967f0624b3
|
4
|
+
data.tar.gz: a0c6bede5346ea0d320307623fe93558b99ba69bb05e75a602788ff4d006f11e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcad25cfe56df03810977508e69272cb55bb113cf544213abc12123d35ac194df4806c0a7c9c66abc4c38b63ccffea90bd50654bfb33ed3e80159ade7013b15e
|
7
|
+
data.tar.gz: 46c7b255ef13ef7e9c9860a2175a2828967adb93620368ae78fb89381080f84d49d4769c8164bf039ae636cc054d143ffe44d8f3dcde154ad17f1de976a4b01d
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# Xamversion Fastlane Plugin
|
2
2
|
|
3
3
|
[](https://rubygems.org/gems/fastlane-plugin-xamversion)
|
4
|
+
[](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
|
-
|
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
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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: "
|
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: "
|
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: "
|
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: "
|
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: "
|
42
|
+
env_name: "XAMVERSION_IOS_PLIST_PATH",
|
50
43
|
description: "Path to the iOS plist file",
|
51
44
|
optional: true)
|
52
45
|
]
|