Skip to content

Commit

Permalink
feat: Allow TEST_FLIGHT_ prefix variables as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatsu committed Feb 5, 2024
1 parent 35200a9 commit 12c9aaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/test_flight.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ func TestFlight(name string, aliases []string) *cli.Command {
},
Usage: "App specific password",
Required: false,
EnvVars: []string{"TESTFLIGHT_PASSWORD"},
EnvVars: []string{"TESTFLIGHT_PASSWORD", "TEST_FLIGHT_PASSWORD"},
},
&cli.StringFlag{
Name: "api-key",
Usage: "API key",
Required: false,
EnvVars: []string{"TESTFLIGHT_API_KEY"},
EnvVars: []string{"TESTFLIGHT_API_KEY", "TEST_FLIGHT_API_KEY"},
},
&cli.StringFlag{
Name: "issuer-id",
Usage: "Issuer ID of API Key",
Required: false,
EnvVars: []string{"TESTFLIGHT_ISSUER_ID"},
EnvVars: []string{"TESTFLIGHT_ISSUER_ID", "TEST_FLIGHT_ISSUER_ID"},
},
},
Action: func(context *cli.Context) error {
Expand Down

0 comments on commit 12c9aaa

Please sign in to comment.