Closed owurman closed 8 years ago
The same error reproduces when passing the release_notes directly as a hash in my Fastfile using the key 'en-us', but 'en-US' worked. So it might be an error with a bad key, but isn't 'default' a valid key for the hash per the documentation?
Looks like you have an extra space in 'default '=> "Testing"
.
So it does. I'll try again later today when I'm submitting another update, using 'default' properly. However, it would be great if keys could be checked for validity and a meaningful error returned. I'm happy to look at doing this.
Go for it. :+1:
So I tried using "default" again. No crash (yay) but it didn't change anything for en-US and eventually error'd with
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.21.0/lib/spaceship/tunes/tunes_client.rb:219:in `handle_itc_response': [!] You must detail what's new in this version in English. (Spaceship::TunesClient::ITunesConnectError)
I guess I don't understand what default is supposed to do, if not fill in for any language that isn't explicitly defined?
Perhaps @ConfusedVorlon can chime in?
@owurman - which build are you using? The default functionality was broken in the last release, though it has been fixed in head. I'm getting on a plane shortly, so I'll be unavailable for about 48 hrs, but I can check properly when I get to the other end.
What you're doing looks correct - the idea is that 'default' is just treated like a language key in the hash.If you're willing to debug, then have a look at `upload_metadata.rb/assign_defaults``
also worth checking with a file-system approach. Create a /default folder in your metadata folder (right next to your other languages), and put release_notes.txt (check that the name is correct) with 'test' as the content
I was using 1.63.1 which probably has that broken functionality. I'll wait for the next release and try again.
This issue was migrated to https://github.com/fastlane/fastlane/issues/1523. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket:
If I have the following in my Deliverfile:
release_notes({ 'default '=> "Testing" })
Then I get the following error when running
deliver --skip_screenshots --skip_binary_upload
:Removing the release_notes fixes the issue. I have fully updated fastlane, deliver and spaceship.
In the verification html, it shows: