Skip to content

Fix environment variable name for flake visibility - #125

Merged
lucperkins merged 7 commits into
mainfrom
fix-env-var-name
Apr 24, 2024
Merged

lucperkins merged 7 commits into
mainfrom
fix-env-var-name

Conversation

@lucperkins

@lucperkins lucperkins commented Apr 21, 2024 •

Copy link
Copy Markdown
Member

The issue here is pretty clear (misspelled environment variable = bad). This fixes that while also providing an escape hatch in case anyone is using FLAKEHUB_PUSH_VISIBLITY anywhere. The escape hatch isn't super elegant here so if there's a fancy way to do this in Clap I'm all ears.

Comment thread src/cli/mod.rs Resolved
Comment thread src/cli/mod.rs Resolved
@lucperkins
lucperkins requested a review from cole-h April 24, 2024 15:22
@cole-h

cole-h commented Apr 24, 2024

Copy link
Copy Markdown
Member

LGTM, but have you tested another repo against this branch?

@cole-h cole-h left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested:

  • current action on main with binary from this PR
  • action from this PR with binary from this PR
  • action from this PR with binary from an older commit on main

And all seems to work 👍

@lucperkins
lucperkins merged commit f4df6dd into main Apr 24, 2024
@lucperkins
lucperkins deleted the fix-env-var-name branch April 24, 2024 20:20
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.

3 participants