ci: simplify release workflow publish command
## What's the purpose of this PR
Simplify the Sonatype Central release workflow command by removing redundant shell wrapper settings and keeping the publish step minimal.
## Which issue(s) this PR fixes:
Fixes #N/A (release workflow cleanup)
## Brief changelog
- simplify release workflow `run` command to a single-line Maven publish invocation
- remove unnecessary `set -eo pipefail` wrapper from the publish step
Follow this checklist to help us incorporate your contribution quickly and easily:
- [x] Read the [Contributing Guide](https://github.com/apolloconfig/apollo/blob/master/CONTRIBUTING.md) before making this pull request.
- [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Write necessary unit tests to verify the code.
- [ ] Run `mvn clean test` to make sure this pull request doesn't break anything.
- [ ] Update the [`CHANGES` log](https://github.com/apolloconfig/apollo-java/blob/master/CHANGES.md).
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Optimized the release deployment workflow process.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
合并状态:未合并 2 条评论