Compare commits
No commits in common. "58942b7fca066dad427f922d0c2bde97b92b08a1" and "a33f7a35c5837b74c766287ce70dd73a4db19717" have entirely different histories.
58942b7fca
...
a33f7a35c5
@ -28,11 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: releases
|
- name: releases
|
||||||
run: |
|
run: |
|
||||||
source gradle.properties
|
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"
|
||||||
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"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
16
build.gradle
16
build.gradle
@ -6,11 +6,11 @@ plugins {
|
|||||||
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
String jarNameStr = "${GROUPSID}-${VERSIONS}"
|
String jarNameStr = "${groups}-${versions}"
|
||||||
String jarName = "${jarNameStr}.jar"
|
String jarName = "${jarNameStr}.jar"
|
||||||
|
|
||||||
group = GROUPSID
|
group = groups
|
||||||
version = VERSIONS
|
version = versions
|
||||||
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -132,15 +132,15 @@ shadowJar {
|
|||||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||||
minimize()
|
minimize()
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': MAIMCLASSSTR
|
attributes 'Main-Class': maimClassStr
|
||||||
attributes 'Implementation-Title': GROUPSID
|
attributes 'Implementation-Title': groups
|
||||||
attributes 'Implementation-Version': VERSIONS
|
attributes 'Implementation-Version': versions
|
||||||
attributes 'Email': 'minglipro@163.com'
|
attributes 'Email': 'minglipro@163.com'
|
||||||
attributes 'Implementation-Vendor': 'minglipro|Armamem0t'
|
attributes 'Implementation-Vendor': 'minglipro|Armamem0t'
|
||||||
attributes 'COPYRIGHT': 'Copyright 2026 minglipro All rights reserved.'
|
attributes 'Copyright': copyright
|
||||||
attributes 'Env': 'prod'
|
attributes 'Env': 'prod'
|
||||||
attributes 'LICENSE': 'Apache License 2.0'
|
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')
|
attributes 'Updated': new Date().format('yyyy-MM-dd HH:mm:ss')
|
||||||
}
|
}
|
||||||
from {
|
from {
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
GROUPSID=com.mingliqiye.gitea.releases
|
groups=com.mingliqiye.gitea.releases
|
||||||
VERSIONS=1.1
|
versions=1.0
|
||||||
MAIMCLASSSTR=com.mingliqiye.gitea.releases.Main
|
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
0
src/tes.json
Normal file
Loading…
x
Reference in New Issue
Block a user