From 12c9aaa08baf54ab688c2234757fd5e6a8905747 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Mon, 5 Feb 2024 11:12:44 +0900 Subject: [PATCH] feat: Allow TEST_FLIGHT_ prefix variables as well --- command/test_flight.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command/test_flight.go b/command/test_flight.go index 854ac89..b808c04 100644 --- a/command/test_flight.go +++ b/command/test_flight.go @@ -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 {