From e0f69327dad8f0121c0837d0a30fa026d01339ba Mon Sep 17 00:00:00 2001 From: Szymon Dziedzic Date: Thu, 30 Jan 2025 19:24:53 +0100 Subject: [PATCH] [eas-cli] add `--submit` and `-s` aliases to `--auto-submit` flag (#2846) * [eas-cli] add `--submit` and `-s` aliases to `--auto-submit` flag * changelog --- CHANGELOG.md | 2 ++ packages/eas-cli/src/commands/build/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2788151eb..471975dd20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ This is the log of notable changes to EAS CLI and related packages. ### ๐ŸŽ‰ New features +- Add `--submit` and `-s` as aliases for `--auto-submit` flag. ([#2846](https://github.com/expo/eas-cli/pull/2846) by [@szdziedzic](https://github.com/szdziedzic)) + ### ๐Ÿ› Bug fixes ### ๐Ÿงน Chores diff --git a/packages/eas-cli/src/commands/build/index.ts b/packages/eas-cli/src/commands/build/index.ts index 1cf2fa7721..497ed13d13 100644 --- a/packages/eas-cli/src/commands/build/index.ts +++ b/packages/eas-cli/src/commands/build/index.ts @@ -78,10 +78,12 @@ export default class Build extends EasCommand { description: 'Clear cache before the build', }), 'auto-submit': Flags.boolean({ + char: 's', default: false, description: 'Submit on build complete using the submit profile with the same name as the build profile', exclusive: ['auto-submit-with-profile'], + aliases: ['submit'], }), 'auto-submit-with-profile': Flags.string({ description: 'Submit on build complete using the submit profile with provided name',