8

I am using Fastlane to auto deploy my apk to hockeyApp. I am trying to upload the release notes with it, but I cant seem to read the file that is in the repo but fastlane cannot seem to find it. This is the crash report from the CI server. Thanks in advance.

 Error in your Fastfile at line 86
    [09:34:20]:     84:               hockey(api_token: release_token,
    [09:34:20]:     85:                      apk: apk_path,
    [09:34:20]:  => 86:                      notes: File.read(“./auto_deployment/release_notes.txt”))
    [09:34:20]:     87:     end
    [09:34:20]:     88: 
    [09:34:20]: No such file or directory @ rb_sysopen - ./auto_deployment/release_notes.txt
2
  • have you check that the file relative path is correct?
    – leojg
    Commented Feb 6, 2019 at 10:14
  • The file exists in projectRoot/auto_deployment/release_notes.txt . In a terminal thats how i used to access it ./auto_deployment/release_notes.txt Commented Feb 6, 2019 at 10:25

1 Answer 1

15

You are in projectRoot/fastlane when you execute fastlane, so you need to write ../auto_deployment/release_notes.txt to access the file you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.