Skip to content

Commit 6374c82

Browse files
authored
Merge pull request #228 from maxistar/fix_deploy
delete old deploy
2 parents 7da04f9 + 5f1334b commit 6374c82

3 files changed

Lines changed: 5 additions & 57 deletions

File tree

‎.github/workflows/android-deploy.yml‎

Lines changed: 0 additions & 50 deletions
This file was deleted.

‎fastlane/Fastfile‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,4 @@ platform :android do
118118
)
119119
end
120120

121-
desc "Legacy direct production deploy retained only until the protected release rehearsal succeeds"
122-
lane :deploy do
123-
UI.user_error!("Set ALLOW_LEGACY_PRODUCTION=true only for the documented emergency path") unless ENV["ALLOW_LEGACY_PRODUCTION"] == "true"
124-
gradle(task: "clean assembleRelease")
125-
upload_to_play_store(track: "production", release_status: "completed")
126-
end
127121
end

‎scripts/test_release_workflows.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,14 @@ def test_fastlane_handles_empty_google_play_tracks(self):
8181
"create-release.yml",
8282
"tagged-release.yml",
8383
"promote-production.yml",
84-
"android-deploy.yml",
8584
):
8685
self.assertIn("ruby-version: '3.3'", self.read(name))
8786

87+
def test_legacy_direct_production_deploy_is_removed(self):
88+
self.assertFalse((WORKFLOWS / "android-deploy.yml").exists())
89+
fastfile = (ROOT / "fastlane" / "Fastfile").read_text(encoding="utf-8")
90+
self.assertNotIn("ALLOW_LEGACY_PRODUCTION", fastfile)
91+
8892

8993
if __name__ == "__main__":
9094
unittest.main()

0 commit comments

Comments
 (0)