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

feat: export generated builds as json #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chreck
Copy link

@chreck chreck commented Apr 13, 2023

I encountered a problem when I tried to compile a list of all initiated builds for a GitHub release note. Simply using the build slug to summarize all the information was proving to be difficult. Therefore, I decided to extract additional data on all initiated builds and export it in a JSON format. As JSON format it makes the reuse more flexible for future Bitrise workflow steps.

Checklist

  • I've read and followed the Contribution Guidelines
  • step.yml and README.md is updated with the changes (if needed)

Version

Requires a MAJOR/MINOR/PATCH version update

Context

Exporting only the build slug is not enough for future Bitrise workflow steps.

Resolves: #39

Changes

  • use package encoding/json
  • save the builds in an array
  • marshal to a JSON string
  • add new export definition in step.yml

Investigation details

No investigation details

Decisions

No other decisions

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

Successfully merging this pull request may close these issues.

Export more information about the created builds
1 participant