fastlane-plugin-versioning 0.2.3 → 0.2.4
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a35e28b08ae89230daa9339ba3f444d633540090
|
|
4
|
+
data.tar.gz: d45df1b3d2f1ac61e3faa9242df17f29a1c64aba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c76795b76013d1d557ab0618c3e57ef74a691f197c62dcc5153dc2918db78a419042467c9b16260dda05da4b7b85260120836eaccdc312efc01914c1957b4636
|
|
7
|
+
data.tar.gz: 7b094d697d1d2e4fec744778d396bde007f603a67b5779fbde6ced4f6d91ec5fa643633164bd8368fbbdf866017bc10553ff8ef0429f61705c96702eebe68942
|
data/README.md
CHANGED
|
@@ -90,6 +90,8 @@ version = get_version_number_from_git_branch(pattern: 'release-#')
|
|
|
90
90
|
|
|
91
91
|
### increment_build_number_in_plist
|
|
92
92
|
|
|
93
|
+
Increment/set build number in Info.plist of specific target. Doesn't use agvtool (unlike default increment_version_number).
|
|
94
|
+
|
|
93
95
|
```ruby
|
|
94
96
|
increment_build_number_in_plist # Automatically increments build number.
|
|
95
97
|
increment_build_number_in_plist(
|
|
@@ -2,6 +2,7 @@ module Fastlane
|
|
|
2
2
|
module Actions
|
|
3
3
|
class GetInfoPlistPathAction < Action
|
|
4
4
|
require 'xcodeproj'
|
|
5
|
+
require 'pathname'
|
|
5
6
|
|
|
6
7
|
def self.run(params)
|
|
7
8
|
unless params[:xcodeproj]
|
|
@@ -36,7 +37,12 @@ module Fastlane
|
|
|
36
37
|
end
|
|
37
38
|
end
|
|
38
39
|
|
|
39
|
-
plist.gsub('$(SRCROOT)', project.path.parent.to_path)
|
|
40
|
+
path = plist.gsub('$(SRCROOT)', project.path.parent.to_path)
|
|
41
|
+
unless (Pathname.new path).absolute?
|
|
42
|
+
path = File.join(project.path.parent.to_path, path)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
path
|
|
40
46
|
end
|
|
41
47
|
|
|
42
48
|
#####################################################
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-versioning
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Siarhei Fiedartsou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -106,5 +106,5 @@ rubyforge_project:
|
|
|
106
106
|
rubygems_version: 2.6.4
|
|
107
107
|
signing_key:
|
|
108
108
|
specification_version: 4
|
|
109
|
-
summary: Allows to
|
|
109
|
+
summary: Allows to set/get app version and build number directly to/from Info.plist
|
|
110
110
|
test_files: []
|