ETLane 0.1.47 → 0.1.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Lanes/CommonFastfile +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d394d543f1eb8baabedc9349ca59e0f58b8dff7136f0e2c7c188265de2ce962
4
- data.tar.gz: 0cfc033df259c353d484f88bc9f2dd3075b4367a446439bafbdadf8fa073fd15
3
+ metadata.gz: e3958f827a4327b9e05cef004796dff80bcd001b20b58f85b43f1bf97540db60
4
+ data.tar.gz: e533e742a89639bb7ef668460d658301e40b418e501d1e18bfef224cf1a4d91f
5
5
  SHA512:
6
- metadata.gz: 14b0fc65f80257c1ecb46ee61148a48e9d2bfa82b3600232af0bc647a1451c842354bc893fef2d20bb09a7c067753b4701d1337a176af76bb8adba8a1d0ae014
7
- data.tar.gz: '098785c57a34d3d0db0957347cad04af29b24942d5925008ad0f0394972c95fc43000904fbcba0180a06b37a96c52765202decd32cc3bf4f994943ad790a8989'
6
+ metadata.gz: 9b5c63147f008bbdd226758bbaa16351b458f654b82abef8cb50c7eaefb6c7649b22177d303a3a575233f95fc3114937205f7eb4a8f3d500a97d56079b0d3eb7
7
+ data.tar.gz: 79d62c33a6e04d7131ca0e8e62fec8ea4a98e7987401f0f1074f619a7bc68ffef30c3cabc496b7c391a0b2aab5bb91b8fb472c0258333bcec2021ab08e03abe1
data/Lanes/CommonFastfile CHANGED
@@ -13,6 +13,7 @@ platform :ios do
13
13
 
14
14
  desc "Push a new beta build to TestFlight"
15
15
  lane :beta do |options|
16
+ work_branch = options[:branch]|| ENV["ET_BRANCH"] || 'master'
16
17
  setup_new_session(options)
17
18
  provisioning_profile = "AppStore_#{product_bundle_identifier}"
18
19
  username = options[:username]
@@ -53,7 +54,8 @@ platform :ios do
53
54
  merge_commit_filtering: "exclude_merges" # Optional, lets you filter out merge commits
54
55
  )
55
56
  puts changelog
56
- build_number = get_build_number()
57
+ latest_testflight_build_number()
58
+ build_number = lane_context[SharedValues::LATEST_TESTFLIGHT_BUILD_NUMBER]
57
59
  version = get_version_number(target: project_name) + " (" + build_number + ")"
58
60
  branch_name = "feature/#{build_number}"
59
61
  sh("git", "checkout", "-B", branch_name)
@@ -93,7 +95,6 @@ platform :ios do
93
95
  commit_bump(message: "Freeze changelog")
94
96
  end
95
97
  end
96
- work_branch = ENV["ET_BRANCH"] || 'master'
97
98
  sh("git", "checkout", work_branch)
98
99
  sh("git", "pull", "origin", work_branch)
99
100
  sh("git", "merge", branch_name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ETLane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - teanet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-18 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Xcode helper for upload builds and metadata
14
14