diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 21b8587..ed0ea79 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,11 +1,20 @@ # Description -Thank you for opening a Pull Request! -Before submitting your PR, there are a few things you can do to make sure it goes smoothly: + + + + +## Checklist + + - [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/THUDM/z-ai-sdk-java/blob/main/CONTRIBUTING.md). - [ ] Make your Pull Request title in the specification. - [ ] Ensure the tests pass (Run `mvn clean test` from the repository root) - [ ] Appropriate docs were updated (if necessary) -Fixes # +Fixes # + +## Add or Update API + +- [ ] I have added the necessary test case and all cases have passed. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 508fa21..d7dd692 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ jobs: uses: ./.github/workflows/build.yml publish-release: + environment: MAVEN_DEPLOY needs: - pre-build runs-on: ubuntu-latest diff --git a/README.md b/README.md index 92bfd97..5fcfed7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Z.ai Open Platform Java SDK -[![Maven Central](https://img.shields.io/maven-central/v/ai.z/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk) +[![Maven Central](https://img.shields.io/maven-central/v/ai.z.openapi/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Java](https://img.shields.io/badge/java-1.8%2B-orange.svg)](https://www.oracle.com/java/) diff --git a/README_CN.md b/README_CN.md index daee846..c5e6043 100644 --- a/README_CN.md +++ b/README_CN.md @@ -1,6 +1,6 @@ # Z.ai Open Platform Java SDK -[![Maven Central](https://img.shields.io/maven-central/v/ai.z/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk) +[![Maven Central](https://img.shields.io/maven-central/v/ai.z.openapi/z-ai-sdk.svg)](https://search.maven.org/artifact/ai.z/z-ai-sdk) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Java](https://img.shields.io/badge/java-1.8%2B-orange.svg)](https://www.oracle.com/java/)