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

Make version_code into a SharedValue #20

Open
bensig opened this issue Aug 24, 2020 · 0 comments
Open

Make version_code into a SharedValue #20

bensig opened this issue Aug 24, 2020 · 0 comments

Comments

@bensig
Copy link

bensig commented Aug 24, 2020

Would be very helpful for fastfile integration if this were made into a shared value to use in other actions:

module SharedValues VERSION_CODE ||= :VERSION_CODE

then something like

` # Store the new number in the shared hash
version_code = params[:version_code].to_s.strip
version_code = Actions.sh("#{command_prefix} agvtool what-version", log: false).split("\n").last.strip if version_code.to_s == ""

    return Actions.lane_context[SharedValues::VERSION_CODE] = build_number
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