ETLane 0.1.56 → 0.1.57

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Lanes/CommonFastfile +14 -15
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48491fc3e96723355135d2a82edf2c6760c80d22861aed3afc88b3c21e49c255
4
- data.tar.gz: 218e7ae0c92f2b0d917af6e9509a000a4ef9d2c1dfd1aad8db04a2f0ec7d2465
3
+ metadata.gz: 6a7c5ac67b79433f29a602dbded2e9cb231c5bedc0d9bdd24ac2d7c0ef6e2fe4
4
+ data.tar.gz: 86dc7c034450676adbd3d35f02107cbc6a83273c35cf958e632ac7af556c1adc
5
5
  SHA512:
6
- metadata.gz: 80a4738f820fd2a6e50b7987830f457eca1f21e0c788f202d540c7616f5659c55cb449ced16d2aad89e7267aa29851a59564ab42bfa214cb9002a8d4fcfd2822
7
- data.tar.gz: d7fd1fd27f744e03d463625e6db7f1048549711111f639af7c5bb7d45653291e5a640d217cdde39d20af32c3a4fd73a52714a3128e3ddc7367006ad75386f91c
6
+ metadata.gz: d158df23667725b8b902aaf7f8880c10f6af0ba16dae2b97cf0f082936608ebd9edcb37429ecfad361c332177a1ddfc07c58b47320740a896dedcb46aeb29c6f
7
+ data.tar.gz: f48a02f602cfcb88d935a02663898586086b4484ca35af7bc6fcda67a40a68230b5628c07051d98d59386b466ecc1c6d592976dffe5de1ba95590ff9e7aa064a
data/Lanes/CommonFastfile CHANGED
@@ -110,18 +110,6 @@ platform :ios do
110
110
 
111
111
  end
112
112
 
113
- lane :tg do |options|
114
- ENV["TG_BOT_TOKEN"] = "1444430330:AAHizdTPzbTgTF-rIsYr53ioCyKHc3I2F3Q"
115
- ENV["TG_CHAT_ID"] = "-1001683750222"
116
- telegram(
117
- token: ENV['TG_BOT_TOKEN'], # get token from @BotFather
118
- chat_id: ENV['TG_CHAT_ID'], # https://stackoverflow.com/questions/33858927/how-to-obtain-the-chat-id-of-a-private-telegram-channel
119
- text: "Hello world, Telegram!", # Required
120
- # file: "file.pdf", # Optional. Please note, Bots can currently send files of any type of up to 50 MB in size.
121
- # mime_type: "application/pdf" # Required if file exist
122
- )
123
- end
124
-
125
113
  lane :metadata do |options|
126
114
  setup_new_session(options)
127
115
  username = options[:username]
@@ -219,15 +207,26 @@ platform :ios do
219
207
  end
220
208
 
221
209
  lane :increment_and_push do |options|
222
- increment_build_number
210
+ push = options[:push]
211
+ bump = true
212
+ if get_build_number() == ENV["FL_BUILD_NUMBER_BUILD_NUMBER"]
213
+ bump = false
214
+ push = false
215
+ else
216
+ increment_build_number
217
+ end
223
218
  bump_type = options[:bump_type]
224
219
  if bump_type
220
+ bump = true
225
221
  increment_version_number(
226
222
  bump_type: bump_type
227
223
  )
228
224
  end
229
- commit_bump(message: "Bump up version")
230
- if options[:push]
225
+ if bump
226
+ commit_bump(message: "Bump up version")
227
+ end
228
+
229
+ if push
231
230
  push_to_git_remote
232
231
  end
233
232
  end
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.56
4
+ version: 0.1.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - teanet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-12 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Xcode helper for upload builds and metadata
14
14