mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
调整
This commit is contained in:
parent
eb3cecf626
commit
ce3548c7d2
2
.github/workflows/snapshot.yml
vendored
2
.github/workflows/snapshot.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
||||
|
||||
- name: Publish to Apache Maven Central
|
||||
run: mvn deploy -Prelease -Psnapshot
|
||||
run: mvn com.github.yulichang:pom-maven-plugin:1.0:pom -Psnapshot && mvn deploy -Prelease -Psnapshot
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
|
||||
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
|
||||
|
23
pom.xml
23
pom.xml
@ -44,8 +44,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<version>1.5.2</version>
|
||||
<revision>${version}</revision>
|
||||
<revision>1.5.2</revision>
|
||||
<mybatis.plus.version>3.5.9</mybatis.plus.version>
|
||||
|
||||
<jdkVersion>17</jdkVersion>
|
||||
@ -84,9 +83,23 @@
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>snapshot</id>
|
||||
<properties>
|
||||
<revision>${version}-SNAPSHOT</revision>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.yulichang</groupId>
|
||||
<artifactId>pom-maven-plugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<configuration>
|
||||
<args>
|
||||
<arg>
|
||||
<xpath>project/properties/revision</xpath>
|
||||
<format>%s-SNAPSHOT</format>
|
||||
</arg>
|
||||
</args>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
|
Loading…
x
Reference in New Issue
Block a user