mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
New build number (#5884)
* REF: new_build_number as global variable * Update Fastfile
This commit is contained in:
parent
b17b3d6019
commit
aed87266a9
1 changed files with 8 additions and 4 deletions
|
@ -3,11 +3,15 @@
|
||||||
platform :ios do
|
platform :ios do
|
||||||
|
|
||||||
before_all do |lane, options|
|
before_all do |lane, options|
|
||||||
|
UI.message("Setting up for all lanes...")
|
||||||
|
|
||||||
|
# Set the new build number to current Unix timestamp
|
||||||
|
@new_build_number = Time.now.to_i.to_s
|
||||||
|
UI.message("Build number set to: #{@new_build_number}")
|
||||||
|
|
||||||
UI.message("Discarding all untracked changes before running any lane...")
|
UI.message("Discarding all untracked changes before running any lane...")
|
||||||
|
sh("git clean -fd")
|
||||||
sh("git clean -fd") # Remove untracked files and directories
|
sh("git checkout -- .")
|
||||||
sh("git checkout -- .") # Discard changes in tracked files
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Create a temporary keychain"
|
desc "Create a temporary keychain"
|
||||||
|
|
Loading…
Add table
Reference in a new issue