PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 27, 2022

[FIXED] How to read file from my repo with Fastlane?

 September 27, 2022     android, continuous-deployment, fastlane, travis-ci     No comments   

Issue

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

Solution

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.



Answered By - rcarba
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing