diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
new file mode 100644
index 0000000..aab34f1
--- /dev/null
+++ b/.github/workflows/push.yml
@@ -0,0 +1,30 @@
+name: Build commit
+on:
+ push:
+ branches: [ master ]
+ paths:
+ - "src/**"
+ - "pom.xml"
+ workflow_dispatch:
+
+jobs:
+ build-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ java-version: 25
+ distribution: 'temurin'
+ - name: Set short commit hash
+ run: fullCommit=${{ github.sha }} && echo "SHORT_SHA=${fullCommit:0:8}" >> $GITHUB_ENV
+ - name: Build with Maven
+ run: mvn -B clean package --file pom.xml -Drevision=${{ github.ref_name }}-${SHORT_SHA}
+ - name: Upload artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: artifact
+ path: 'target/QuickerStacker-*.jar'
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index ff39396..8761da3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,13 +6,22 @@
me.youhavetrouble.quickerstacker
QuickerStacker
- 1.2.1
+ ${revision}
+ jar
+
+
+
+ YouHaveTrouble
+ https://yht.one
+
+
25
25
UTF-8
2026.02.19-1a311a592
+ 1.2.1
diff --git a/src/main/resources/manifest.json b/src/main/resources/manifest.json
index 878eef5..9aa3ea4 100644
--- a/src/main/resources/manifest.json
+++ b/src/main/resources/manifest.json
@@ -1,6 +1,6 @@
{
- "Group": "me.youhavetrouble.quickerstacker",
- "Name": "QuickerStacker",
+ "Group": "YouHaveTrouble",
+ "Name": "${artifactId}",
"Version": "${project.version}",
"Description": "Quick stack everything!",
"Authors": [
@@ -15,5 +15,5 @@
"OptionalDependencies": {},
"DisabledByDefault": false,
"IncludesAssetPack": true,
- "Main": "me.youhavetrouble.quickerstacker.QuickerStacker"
+ "Main": "${project.groupId}.${artifactId}"
}