diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml
index 4721e2b..5b6ee03 100644
--- a/.github/workflows/maven-publish.yml
+++ b/.github/workflows/maven-publish.yml
@@ -13,5 +13,5 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'
- - name: NBM
+ - name: Tests
run: mvn test
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml
new file mode 100644
index 0000000..32dab27
--- /dev/null
+++ b/.github/workflows/pre-release.yml
@@ -0,0 +1,32 @@
+## YAML Template.
+---
+name: Pre Release
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ pre-release:
+ name: "Pre Release"
+ runs-on: "ubuntu-latest"
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - name: NBM
+ run: mvn -Dkeypass=${{secrets.KEYPASS}} verify
+ - uses: marvinpinto/action-automatic-releases@latest
+ with:
+ repo_token: "${{ secrets.NETBEANS_ACTION_TOKEN }}"
+ automatic_release_tag: "latest"
+ prerelease: true
+ title: "Development Build"
+ files: |
+ target/*.jar
+ target/*.nbm
+
diff --git a/keystore.jks b/keystore.jks
new file mode 100644
index 0000000..d41865a
Binary files /dev/null and b/keystore.jks differ
diff --git a/pom.xml b/pom.xml
index b61ffb8..4e2e571 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
io.github.moacirrf
nb-java-decompiler
- 1.0.2
+ 2.0-SNAPSHOT
nbm
NB Java Decompiler
https://github.com/moacirrf/nb-java-decompiler
@@ -20,7 +20,7 @@
scm:git:https://github.com/moacirrf/nb-java-decompiler
scm:git:https://github.com/moacirrf/nb-java-decompiler
https://github.com/moacirrf/nb-java-decompiler/tree/${project.scm.tag}
- v1.0.2
+ v2.0
@@ -44,6 +44,29 @@
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+ maven-publish
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.6
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+
+
@@ -67,7 +90,10 @@
GNU GENERAL PUBLIC LICENSE 3.0
LICENSE
+ ${netbeansInstalationPath} -->
+ ${basedir}/keystore.jks
+ ${keypass}
+ nb-java-decompiler-key
@@ -94,20 +120,6 @@
maven-surefire-plugin
2.22.0
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 1.6
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
@@ -193,6 +205,14 @@
org-netbeans-api-java-classpath
RELEASE130
+
+
+ org.netbeans.external
+ updater
+ RELEASE130
+ jar
+
+