mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 00:42:13 +08:00
[tool] Fix typo in publish-plugin
readme (#5107)
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## NEXT
|
||||
|
||||
- Updates `publish-plugin` command documentation.
|
||||
|
||||
## 0.8.2
|
||||
|
||||
- Adds a new `custom-test` command.
|
||||
|
@ -109,11 +109,18 @@ dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --macos --packa
|
||||
|
||||
### Publish a Release
|
||||
|
||||
``sh
|
||||
**Releases are automated for `flutter/plugins` and `flutter/packages`.**
|
||||
|
||||
The manual procedure described here is _deprecated_, and should only be used when
|
||||
the automated process fails. Please, read
|
||||
[Releasing a Plugin or Package](https://github.com/flutter/flutter/wiki/Releasing-a-Plugin-or-Package)
|
||||
on the Flutter Wiki first.
|
||||
|
||||
```sh
|
||||
cd <path_to_plugins>
|
||||
git checkout <commit_hash_to_publish>
|
||||
dart run ./script/tool/bin/flutter_plugin_tools.dart publish-plugin --package <package>
|
||||
``
|
||||
dart run ./script/tool/bin/flutter_plugin_tools.dart publish-plugin --packages <package>
|
||||
```
|
||||
|
||||
By default the tool tries to push tags to the `upstream` remote, but some
|
||||
additional settings can be configured. Run `dart run ./script/tool/bin/flutter_plugin_tools.dart
|
||||
@ -127,10 +134,6 @@ _everything_, including untracked or uncommitted files in version control.
|
||||
directory and refuse to publish if there are any mismatched files with version
|
||||
control present.
|
||||
|
||||
Automated publishing is under development. Follow
|
||||
[flutter/flutter#27258](https://github.com/flutter/flutter/issues/27258)
|
||||
for updates.
|
||||
|
||||
## Updating the Tool
|
||||
|
||||
For flutter/plugins, just changing the source here is all that's needed.
|
||||
|
Reference in New Issue
Block a user