From 32d5ebba6a7fe113816a267872030bbea89cd614 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sun, 22 Sep 2024 15:53:31 +0200 Subject: [PATCH] Move envs to fastlane directory --- ci/build-changelog.sh | 4 ++-- ci/copy-release-notes.sh | 2 +- ci/latest-changelog.sh | 2 +- ci/update-release-notes.sh | 2 +- .env => fastlane/.env | 0 .env.beta => fastlane/.env.beta | 0 .env.ios => fastlane/.env.ios | 0 .env.mac => fastlane/.env.mac | 0 .env.tvos => fastlane/.env.tvos | 0 9 files changed, 5 insertions(+), 5 deletions(-) rename .env => fastlane/.env (100%) rename .env.beta => fastlane/.env.beta (100%) rename .env.ios => fastlane/.env.ios (100%) rename .env.mac => fastlane/.env.mac (100%) rename .env.tvos => fastlane/.env.tvos (100%) diff --git a/ci/build-changelog.sh b/ci/build-changelog.sh index 8065ebe2..eb467613 100755 --- a/ci/build-changelog.sh +++ b/ci/build-changelog.sh @@ -1,6 +1,6 @@ #!/bin/bash -. .env -. .env.$1 +. fastlane/.env +. fastlane/.env.$1 RELEASE_NOTES="$DELIVER_METADATA_PATH/en-US/release_notes.txt" if [[ -n $CHANGELOG_PREFACE ]]; then diff --git a/ci/copy-release-notes.sh b/ci/copy-release-notes.sh index 29ff3da7..50c1c0db 100755 --- a/ci/copy-release-notes.sh +++ b/ci/copy-release-notes.sh @@ -1,5 +1,5 @@ #!/bin/bash -. .env.$1 +. fastlane/.env.$1 RELEASE_NOTES="release_notes" RX='^[a-z]{2}(\-[A-z]+)?$' diff --git a/ci/latest-changelog.sh b/ci/latest-changelog.sh index 4a390778..c0b59d67 100755 --- a/ci/latest-changelog.sh +++ b/ci/latest-changelog.sh @@ -1,5 +1,5 @@ #!/bin/bash -. .env.$1 +. fastlane/.env.$1 RELEASES=(`grep -n "^## " $CHANGELOG | sed -E "s/^([0-9]+).*$/\1/g"`) UNRELEASED=${RELEASES[0]} diff --git a/ci/update-release-notes.sh b/ci/update-release-notes.sh index 83692b80..ffb8e52c 100755 --- a/ci/update-release-notes.sh +++ b/ci/update-release-notes.sh @@ -1,5 +1,5 @@ #!/bin/bash -. .env.$1 +. fastlane/.env.$1 RELEASE_NOTES="$DELIVER_METADATA_PATH/en-US/release_notes.txt" diff --git a/.env b/fastlane/.env similarity index 100% rename from .env rename to fastlane/.env diff --git a/.env.beta b/fastlane/.env.beta similarity index 100% rename from .env.beta rename to fastlane/.env.beta diff --git a/.env.ios b/fastlane/.env.ios similarity index 100% rename from .env.ios rename to fastlane/.env.ios diff --git a/.env.mac b/fastlane/.env.mac similarity index 100% rename from .env.mac rename to fastlane/.env.mac diff --git a/.env.tvos b/fastlane/.env.tvos similarity index 100% rename from .env.tvos rename to fastlane/.env.tvos