diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 9b0233b..276f695 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -81,7 +81,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: ${{ env.artifact_name }}-${{ env.artifact_version }} - path: ./target/${{ env.artifact_name }}-${{ env.artifact_version }}.jar + path: ./target/${{ env.artifact_name }}-${{ env.artifact_version }}.pom - name: Workflow Release Notes uses: peter-evans/repository-dispatch@v2 if: ${{ github.event.inputs.releaseVersion }} != "" && ${{ github.event.inputs.developmentVersion }} != "" diff --git a/pom.xml b/pom.xml index 8f71261..f0bd8da 100644 --- a/pom.xml +++ b/pom.xml @@ -210,6 +210,10 @@ + + org.apache.maven.plugins + maven-release-plugin + org.apache.maven.plugins maven-javadoc-plugin diff --git a/release.properties b/release.properties new file mode 100644 index 0000000..20ee929 --- /dev/null +++ b/release.properties @@ -0,0 +1,23 @@ +#release configuration +#Thu Dec 07 17:22:33 CST 2023 +completedPhase=check-poms +exec.pomFileName=pom.xml +exec.snapshotReleasePluginAllowed=false +pinExternals=false +preparationGoals=clean verify +project.scm.com.chensoul\:chensoul-parent.connection=scm\:git\:git@github.com\:chensoul/${project.artifactId}.git +project.scm.com.chensoul\:chensoul-parent.developerConnection=scm\:git\:git@github.com\:chensoul/${project.artifactId}.git +project.scm.com.chensoul\:chensoul-parent.tag=HEAD +project.scm.com.chensoul\:chensoul-parent.url=https\://github.com/chensoul/${project.artifactId}/ +projectVersionPolicyConfig=${projectVersionPolicyConfig}\n +projectVersionPolicyId=default +pushChanges=true +releaseStrategyId=default +remoteTagging=true +scm.branchCommitComment=@{prefix} prepare branch @{releaseLabel} +scm.commentPrefix=[maven-release-plugin] +scm.developmentCommitComment=@{prefix} prepare for next development iteration +scm.releaseCommitComment=@{prefix} prepare release @{releaseLabel} +scm.rollbackCommitComment=@{prefix} rollback the release of @{releaseLabel} +scm.tagNameFormat=v@{project.version} +scm.url=scm\:git\:git@github.com\:chensoul/chensoul-parent.git