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

fix: align output names #409

Merged

Conversation

hendrikmaus
Copy link
Contributor

When no release was detected, the output name was incorrect due to the
usage of a stringly typed identifier. I implemented the outputs as an
enum to overcome the issue.

@hendrikmaus hendrikmaus requested a review from hannobraun as a code owner March 29, 2022 07:54
@hendrikmaus
Copy link
Contributor Author

With this fix in place, only the YAML file in GitHub Actions is still stringly typed, i.e. https://github.com/hannobraun/Fornjot/blob/main/.github/workflows/cd.yml#L110

I do not yet have a good idea how to overcome that.

@hendrikmaus
Copy link
Contributor Author

For easier glance, this was the bug:
image

when no release was detcetd, the output name was incorrect due to the
usage of a stringly typed identifier. i implemented the outputs as an
enum to overcome the issue.
@hannobraun hannobraun force-pushed the release-operator-align-output-names branch from 7650fe7 to ad2b233 Compare March 29, 2022 10:29
Copy link
Owner

@hannobraun hannobraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hendrikmaus, looks good!

With this fix in place, only the YAML file in GitHub Actions is still stringly typed, i.e. https://github.com/hannobraun/Fornjot/blob/main/.github/workflows/cd.yml#L110

I do not yet have a good idea how to overcome that.

Maybe nothing we an do about it, except maybe move more CD logic out of GitHub Actions and into the release operator. No idea, if this is practical or even desirable.

@hannobraun
Copy link
Owner

By the way, I had to rebase due to #408 being merged. Will merge once CI is green.

@hannobraun hannobraun enabled auto-merge March 29, 2022 10:34
@hannobraun hannobraun merged commit 267d7f3 into hannobraun:main Mar 29, 2022
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.

2 participants