Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deliver with auto_release_date doesn't update Version Release date and time in App Store Connect #21441

Open
3 of 4 tasks
alexanderthoren opened this issue Aug 7, 2023 · 0 comments

Comments

@alexanderthoren
Copy link

New Issue Checklist

Issue Description

Executed with fastlane_version 2.212.1. Verified if a similiar issue was solved since this release version and nope, there wasn't solved something related to this.

We have an autorelease workflow in Bitrise that executes a lane in Fastlane that contains the following code:

def upload_build_to_app_store_connect(version_number)
    auto_release_date = calculate_auto_release_date_time_in_millis
    deliver(
      skip_binary_upload: true,
      skip_screenshots: true,
      phased_release: true,
      app_version: version_number,
      force: true,
      ignore_language_directory_validation: true,
      precheck_include_in_app_purchases: false,
      submit_for_review: true,
      auto_release_date: auto_release_date
    )
  end

  def calculate_auto_release_date_time_in_millis
    date = Date.parse('Monday')
    delta = date > Date.today ? 0 : 7
    date += delta
    date_time = DateTime.new(date.year, date.month, date.day, 9, 0, 0)
    date_time.strftime('%s%L')
  end

The idea is to skip the part that a developer must click on the Submit for review button when the build is deployed to App Store Connect and also skip the part of start the rollout manually. The first part works as expected with the submit_for_review parameter, but the auto_release_date didn't even update the fields in App Store Connect.

image

As defined in Develiver's documentation, we ensured that auto_release_date wasn't being used together with automatic_release and the date is transformed to millis.

Command executed

It is not an error of Fastlane, but an error on updating the App Store Connect Release Version information.

Complete output when running fastlane, including the stack trace and command used

Fastlane executed as expected, so this information is not needed.

Environment

fastlane gems

Gem Version Update-Status
fastlane 2.213.0 🚫 Update available

Loaded fastlane plugins:

Plugin Version Update-Status
fastlane-plugin-firebase_app_distribution 0.6.1 🚫 Update available
fastlane-plugin-datadog 0.2.0 ✅ Up-To-Date
fastlane-plugin-versioning 0.5.1 🚫 Update available
fastlane-plugin-xcconfig 2.0.0 ✅ Up-To-Date
Loaded gems
Gem Version
error_highlight 0.5.1
did_you_mean 1.6.3
syntax_suggest 1.0.2
atomos 0.1.3
rexml 3.2.5
CFPropertyList 3.0.6
claide 1.1.0
colored2 3.1.2
nanaimo 0.3.0
xcodeproj 1.22.0
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
unicode-display_width 1.8.0
terminal-table 1.8.0
plist 3.7.0
word_wrap 1.0.0
optparse 0.1.1
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
artifactory 3.0.15
babosa 1.0.4
colored 1.2
highline 2.0.3
commander 4.6.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
faraday-multipart 1.0.4
faraday-net_http 1.0.1
faraday-net_http_persistent 1.2.0
faraday-patron 1.0.0
faraday-rack 1.0.0
faraday-retry 1.0.3
ruby2_keywords 0.0.5
faraday 1.10.3
unf_ext 0.0.8.2
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.5
faraday-cookie_jar 0.0.7
faraday_middleware 1.2.0
gh_inspector 1.1.3
json 2.6.3
mini_magick 4.12.0
naturally 2.2.1
rubyzip 2.3.2
security 0.1.3
xcpretty-travis-formatter 1.0.1
dotenv 2.8.1
simctl 1.6.10
jwt 2.7.0
uber 0.1.0
declarative 0.0.20
trailblazer-option 0.1.2
representable 3.2.0
retriable 3.1.2
mini_mime 1.1.2
httpclient 2.8.3
webrick 1.8.1
google-apis-core 0.11.0
google-apis-playcustomapp_v1 0.13.0
google-cloud-env 1.6.0
google-cloud-core 1.6.0
google-apis-iamcredentials_v1 0.17.0
google-apis-storage_v1 0.19.0
rake 13.0.6
digest-crc 0.6.4
google-cloud-storage 1.44.0
emoji_regex 3.2.3
set 1.0.3
public_suffix 4.0.7
addressable 2.8.4
multipart-post 2.3.0
excon 0.100.0
fastimage 2.2.7
bundler 2.4.17
multi_json 1.15.0
signet 0.17.0
os 1.1.4
memoist 0.16.2
googleauth 1.5.2
google-apis-androidpublisher_v3 0.42.0
google-cloud-errors 1.3.1
aws-eventstream 1.2.0
aws-sigv4 1.5.2
aws-partitions 1.777.0
jmespath 1.6.2
aws-sdk-core 3.174.0
aws-sdk-kms 1.66.0
aws-sdk-s3 1.123.1
forwardable 1.3.3
logger 1.5.3
pathname 0.2.1
shellwords 0.1.0
cgi 0.3.6
date 3.3.3
timeout 0.3.1
securerandom 0.2.2
uri 0.12.0
openssl 3.1.0
digest 3.1.1
ipaddr 1.2.5
resolv 0.2.2
time 0.2.1
stringio 3.0.4
open-uri 0.3.0
mutex_m 0.1.2
net-http 0.3.2
net-protocol 0.2.1
ostruct 0.5.5
english 0.7.2
erb 4.0.2
abbrev 0.1.1
tempfile 0.1.3
delegate 0.3.0
fileutils 1.7.0
tmpdir 0.1.3
base64 0.1.1
singleton 0.1.1
open3 0.1.2
nkf 0.1.2
prettyprint 0.1.1
pp 0.4.0
find 0.1.1
yaml 0.2.1
psych 5.0.1
fastlane-plugin-firebase_app_distribution 0.6.1
fastlane-plugin-datadog 0.2.0
fastlane-plugin-versioning 0.5.1
fastlane-plugin-xcconfig 2.0.0

generated on: 2023-08-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant