-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(update): remove republish from update command #1535
Conversation
Size Change: +604 B (0%) Total Size: 40.3 MB
|
Codecov Report
@@ Coverage Diff @@
## main #1535 +/- ##
==========================================
+ Coverage 51.13% 51.38% +0.26%
==========================================
Files 461 460 -1
Lines 16066 15973 -93
Branches 3175 3141 -34
==========================================
- Hits 8213 8206 -7
+ Misses 7838 7752 -86
Partials 15 15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -112,11 +109,11 @@ export default class UpdatePublish extends EasCommand { | |||
required: false, | |||
}), | |||
republish: Flags.boolean({ | |||
description: 'Republish an update group', | |||
description: 'Republish an update group (deprecated, see republish command)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: 'Republish an update group (deprecated, see republish command)', | |
description: 'Republish an update group', | |
deprecated: true, |
(or feel free to leave stuff in description and add deprecated
field)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deprecated
feature from OCLIF is far from optimal. It produces a warning on every command invocation, even when not using the flag. Not a strong opinion, but I would advice against using the deprecated feature.
See aborted PR #1500 for an example
exclusive: ['input-dir', 'skip-bundler'], | ||
}), | ||
group: Flags.string({ | ||
description: 'Update group to republish', | ||
description: 'Update group to republish (deprecated, see republish command)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See: #1535 (comment)
bf0517f
to
deb311d
Compare
/changelog-entry chore Remove old republish code from the update command |
CHANGELOG.md
Outdated
@@ -12,6 +12,8 @@ This is the log of notable changes to EAS CLI and related packages. | |||
|
|||
### 🧹 Chores | |||
|
|||
- Remove old republish code from the update command. ([#1535](https://github.com/expo/eas-cli/pull/1535) by [@byCedric](https://github.com/byCedric)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase and move to the correct group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0c7dcf4
to
5de5a9a
Compare
08ece28
to
6626f37
Compare
/changelog-entry chore Remove old republish code from the update command |
c33c9b4
to
8c48bfd
Compare
8c48bfd
to
e00bd3e
Compare
Checklist
/changelog-entry [breaking-change|new-feature|bug-fix|chore] [message]
and CHANGELOG.md will be updated automatically.Why
Follow up of #1533, part of ENG-5926
How
--group
and--republish
flags in the commandTest Plan
When using
--group
or--republish
, users should now get a deprecation warning with the new command. This replacement command uses the--branch
and--group
flags, to help users just copy whatever they need.