From b3c9a4812183d0debf416373a1df7288fb2cde9c Mon Sep 17 00:00:00 2001 From: Emi Date: Fri, 24 Oct 2025 10:37:48 +0300 Subject: [PATCH 1/2] Add portal downloads badge to README This PR adds a download counter badge to the README using the [netbeans-download-badges](https://github.com/emilianbold/netbeans-download-badges) service. Changes Added download counter badge to README.md Notes The badge displays the total number of downloads for this plugin from the NetBeans Plugin Portal. The counter is provided by openbeans.org and updates automatically. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7d67ee9c1..e042fdfc3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7d825731274a4f4783e4203eb7cbf811)](https://www.codacy.com/manual/funfried/externalcodeformatter_for_netbeans?utm_source=github.com&utm_medium=referral&utm_content=funfried/externalcodeformatter_for_netbeans&utm_campaign=Badge_Grade) [![Maven Central](https://img.shields.io/maven-central/v/de.funfried.netbeans.plugins/externalcodeformatter)](https://repo1.maven.org/maven2/de/funfried/netbeans/plugins/externalcodeformatter/) [![GitHub All Releases](https://img.shields.io/github/downloads/funfried/externalcodeformatter_for_netbeans/total)](https://github.com/funfried/externalcodeformatter_for_netbeans/releases) +[![Portal Downloads](https://img.shields.io/endpoint?url=https%3A%2F%2Fopenbeans.org%2Fplugin-counter%2Fapi%2F15&label=portal%20downloads)](https://plugins.netbeans.apache.org/catalogue/?id=15) [![GitHub issues](https://img.shields.io/github/issues/funfried/externalcodeformatter_for_netbeans)](https://github.com/funfried/externalcodeformatter_for_netbeans/issues) [![Eclipse Public License, Version 2.0](https://img.shields.io/badge/license-EPL%20v2.0-green)](http://funfried.github.io/externalcodeformatter_for_netbeans/licenses.html) [![Follow Me On Twitter](https://img.shields.io/twitter/follow/funfried84?style=social)](https://twitter.com/funfried84) From 51b5ca63e3e9ad478545dbbe9163b986b8a9a658 Mon Sep 17 00:00:00 2001 From: fbahle Date: Sun, 26 Oct 2025 20:50:37 +0100 Subject: [PATCH 2/2] Got rid of GPG passphrase in configuration and load it from ENV variable instead --- .ci.settings.xml | 1 - .github/workflows/release_maven.yml | 3 ++- .github/workflows/windows_maven.yml | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.ci.settings.xml b/.ci.settings.xml index 0430fad96..0c322db7e 100644 --- a/.ci.settings.xml +++ b/.ci.settings.xml @@ -113,7 +113,6 @@ ${env.repoToken} ${env.signing_keypass} - ${env.signing_keypass} ${env.skipRemoteStaging} diff --git a/.github/workflows/release_maven.yml b/.github/workflows/release_maven.yml index c77a0f178..094a043a7 100644 --- a/.github/workflows/release_maven.yml +++ b/.github/workflows/release_maven.yml @@ -32,11 +32,12 @@ jobs: env: GPG_TTY: $(tty) MAVEN_OPTS: -Xms128m -Xmx512m --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + signing_keypass: ${{ secrets.MAVEN_GPG_PASSPHRASE }} gh_username: ${{ secrets.GH_USERNAME }} gh_token: ${{ secrets.GH_TOKEN }} sonatype_username: ${{ secrets.SONATYPE_USERNAME }} sonatype_password: ${{ secrets.SONATYPE_PASSWORD }} repoToken: ${{ secrets.COVERALLS_REPOTOKEN }} - signing_keypass: ${{ secrets.GPG_PASSPHRASE }} skipRemoteStaging: ${{ secrets.SKIP_REMOTE_STAGING }} nvd_api_key: ${{ secrets.NVD_API_KEY }} diff --git a/.github/workflows/windows_maven.yml b/.github/workflows/windows_maven.yml index a24d87b55..809d37eed 100644 --- a/.github/workflows/windows_maven.yml +++ b/.github/workflows/windows_maven.yml @@ -27,11 +27,4 @@ jobs: run: mvn -s .ci.settings.xml --no-transfer-progress clean package env: MAVEN_OPTS: -Xms128m -Xmx512m --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED - gh_username: ${{ secrets.GH_USERNAME }} - gh_token: ${{ secrets.GH_TOKEN }} - sonatype_username: ${{ secrets.SONATYPE_USERNAME }} - sonatype_password: ${{ secrets.SONATYPE_PASSWORD }} - repoToken: ${{ secrets.GH_REPOTOKEN }} - signing_keypass: ${{ secrets.GPG_PASSPHRASE }} - skipRemoteStaging: ${{ secrets.SKIP_REMOTE_STAGING }} nvd_api_key: ${{ secrets.NVD_API_KEY }}