Skip to content

Commit

Permalink
2.1.6 补充介绍,优化部署密钥配置。
Browse files Browse the repository at this point in the history
  • Loading branch information
carm committed Oct 21, 2021
1 parent dd96c6d commit 83b9ced
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
- name: "Deploy"
run: mvn -B deploy --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: "Package"
run: mvn -B package --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_USERNAME: ${{ github.repository_owner }}
MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: "Target Stage"
run: mkdir staging && cp target/*.jar staging
Expand Down
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,39 @@

<groupId>cc.carm.plugin</groupId>
<artifactId>userprefix</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>

<name>用户前缀系统</name>
<name>UserPrefix</name>
<description>轻便、高效、实时的用户前缀系统。</description>
<url>https://github.com/CarmJos/UserPrefix</url>

<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/CarmJos/UserPrefix/issues</url>
<url>${project.url}/issues</url>
</issueManagement>

<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/CarmJos/UserPrefix/actions/workflows/maven.yml</url>
<url>${project.url}/actions/workflows/maven.yml</url>
</ciManagement>

<developers>
<developer>
<id>CarmJos</id>
<name>Carm Jos</name>
<email>[email protected]</email>
<url>https://work.carm.cc</url>
<roles>
<role>Main Developer</role>
</roles>
<url>https://work.carm.cc</url>
</developer>
</developers>

<organization>
<name>YourCraft你的世界</name>
<url>https://www.ycraft.cn/</url>
</organization>

<licenses>
<license>
<name>GNU General Public License v3.0</name>
Expand All @@ -60,11 +65,6 @@
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>

<!-- <repository>-->
<!-- <id>lss233-repo</id>-->
<!-- <url>https://crystal.app.lss233.com/repositories/minecraft</url>-->
<!-- </repository>-->

<repository>
<id>oss-repo</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
Expand All @@ -83,15 +83,15 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/UserPrefix</url>
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
</repository>
</repositories>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/CarmJos/UserPrefix</url>
<url>https://maven.pkg.github.com/CarmJos/${project.name}</url>
</repository>
</distributionManagement>

Expand Down
8 changes: 5 additions & 3 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
main: cc.carm.plugin.userprefix.Main
name: UserPrefix
name: ${project.name}
version: ${project.version}
authors:
- Carm
- YourCraft
- ${project.organization.name}
- SakuraGame
website: "https://github.com/CarmJos/UserPrefix"
website: ${project.url}
description: ${project.description}

depend:
- LuckPerms
softdepend:
Expand Down

0 comments on commit 83b9ced

Please sign in to comment.