Compare commits

..

No commits in common. "58942b7fca066dad427f922d0c2bde97b92b08a1" and "a33f7a35c5837b74c766287ce70dd73a4db19717" have entirely different histories.

4 changed files with 15 additions and 16 deletions

View File

@ -28,11 +28,7 @@ jobs:
- name: releases
run: |
source gradle.properties
GROUPSID=$(echo "$GROUPSID" | tr -d '\r')
VERSIONS=$(echo "$VERSIONS" | tr -d '\r')
FILENAME="${GROUPSID}-${VERSIONS}.jar"
java -jar ${VERSIONS} -s "${{gitea.server_url}}" -o "${{gitea.repository_owner}}" -r ${{gitea.event.repository.name}} -t "${{gitea.token}}" -ti "Auto releases ${{gitea.sha}} ${VERSIONS}" -b "# Auto releases wtih ${{gitea.event.head_commit.message}} - [${{gitea.sha}}](${{gitea.event.head_commit.url}})" -tn "Auto-Releases-${VERSIONS}" -a "build/libs"
java -jar build/libs/com.mingliqiye.gitea.releases-1.0.jar -s "${{gitea.server_url}}" -o "${{gitea.repository_owner}}" -r ${{gitea.event.repository.name}} -t "${{gitea.token}}" -ti "Auto releases ${{gitea.sha}}" -b "# Auto releases wtih ${{gitea.event.head_commit.message}} - [${{gitea.sha}}](${{gitea.event.head_commit.url}})" -tn "AutoReleases" -a "build/libs"

View File

@ -6,11 +6,11 @@ plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
String jarNameStr = "${GROUPSID}-${VERSIONS}"
String jarNameStr = "${groups}-${versions}"
String jarName = "${jarNameStr}.jar"
group = GROUPSID
version = VERSIONS
group = groups
version = versions
repositories {
@ -132,15 +132,15 @@ shadowJar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
minimize()
manifest {
attributes 'Main-Class': MAIMCLASSSTR
attributes 'Implementation-Title': GROUPSID
attributes 'Implementation-Version': VERSIONS
attributes 'Main-Class': maimClassStr
attributes 'Implementation-Title': groups
attributes 'Implementation-Version': versions
attributes 'Email': 'minglipro@163.com'
attributes 'Implementation-Vendor': 'minglipro|Armamem0t'
attributes 'COPYRIGHT': 'Copyright 2026 minglipro All rights reserved.'
attributes 'Copyright': copyright
attributes 'Env': 'prod'
attributes 'LICENSE': 'Apache License 2.0'
attributes 'Created': '2025-06-18 13:05:06'
attributes 'Created': createdTime
attributes 'Updated': new Date().format('yyyy-MM-dd HH:mm:ss')
}
from {

View File

@ -1,3 +1,6 @@
GROUPSID=com.mingliqiye.gitea.releases
VERSIONS=1.1
MAIMCLASSSTR=com.mingliqiye.gitea.releases.Main
groups=com.mingliqiye.gitea.releases
versions=1.0
maimClassStr=com.mingliqiye.gitea.releases.Main
copyright=Copyright 2026 @minglipro|Armamem0t All rights reserved.
createdTime=2025-06-18 13:05:06
systemProp.file.encoding=UTF-8

0
src/tes.json Normal file
View File