Skip to content

Instantly share code, notes, and snippets.

@godrei
Last active June 12, 2019 09:25
Show Gist options
  • Save godrei/982683cc65f33e30a1e7d46ece331482 to your computer and use it in GitHub Desktop.
Save godrei/982683cc65f33e30a1e7d46ece331482 to your computer and use it in GitHub Desktop.

Use case(s)

As a user I would need a tool/script which can download an IPA/APK file attached to my Bitrise build, to analyze the artifact:

  • version numbers
  • Bundle Identifier / Package Name
  • app launch icon

I want to analyze artifacts generated by a Bitrise build, automatically triggered by a Pull Request from development branch.

How it should work for the user

The user runs the tool/script by providing the Bitrise Personal access token, it finds the first Build triggered by a Pull Request with development source branch, downloads the attached IPA/APK file and prints:

  • Bundle Identifier / Package Name
  • Version number / Version name
  • Build number / Version code
  • App icon file path

Requirements

  • Use the analyzer tool/script from the previous task
  • Solve the task in Go programming language
  • Implement it either for IPA or APK file
  • Receive the personal access token as command line argument/flag
  • Prints the mentioned info about the file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment