diff --git a/.github/workflows/semantic-release-dry-run.yml b/.github/workflows/semantic-release-dry-run.yml index 37b5442..76a54a5 100644 --- a/.github/workflows/semantic-release-dry-run.yml +++ b/.github/workflows/semantic-release-dry-run.yml @@ -26,4 +26,8 @@ jobs: - name: Dry run env: GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }} + SERVER_USERNAME: ${{ secrets.OSSRH_USERNAME }} + SERVER_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_SIGNING_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} run: unset GITHUB_ACTIONS && npx --prefix .release/ semantic-release --dry-run --no-ci --debug diff --git a/.releaserc.yml b/.releaserc.yml index e1ea325..229608e 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -55,11 +55,8 @@ generateNotes: - path: "@semantic-release/release-notes-generator" writerOpts: groupBy: "type" - commitGroupsSort: - - "feat" - - "perf" - - "fix" commitsSort: "header" + commitGroupsSort: 'title' linkCompare: true linkReferences: true types: @@ -105,6 +102,8 @@ prepare: publish: - path: "semantic-release-maven" + profiles: + - release - path: "@semantic-release/github" assets: - path: "CHANGELOG.md" diff --git a/pom.xml b/pom.xml index 5f63701..51bb00d 100644 --- a/pom.xml +++ b/pom.xml @@ -43,82 +43,94 @@ UTF-8 + + + release + + false + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + src/java/main - pl.project13.maven - git-commit-id-plugin - 4.9.10 + org.apache.maven.plugins + maven-source-plugin + 3.2.1 - get-the-git-infos - - revision - - - - validate-the-git-infos + attach-sources - validateRevision + jar-no-fork - - true - true - org.apache.maven.plugins - maven-gpg-plugin - 3.0.1 + maven-javadoc-plugin + 3.4.0 - sign-artifacts - verify + attach-javadocs - sign + jar - org.apache.maven.plugins - maven-source-plugin - 3.2.1 + pl.project13.maven + git-commit-id-plugin + 4.9.10 - attach-sources + get-the-git-infos - jar-no-fork + revision - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.4.0 - - attach-javadocs + validate-the-git-infos - jar + validateRevision - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - ossrh - https://oss.sonatype.org/ - true + true + true