Compare commits

...

2 Commits

Author SHA1 Message Date
58942b7fca
Merge remote-tracking branch 'origin/master'
Some checks failed
Gitea Actions Build / build and releases (push) Failing after 5m24s
# Conflicts:
#	.gitea/workflows/action.yaml
2025-06-18 19:34:55 +08:00
98843c2b67
new version 2025-06-18 19:33:05 +08:00
4 changed files with 16 additions and 15 deletions

View File

@ -28,7 +28,11 @@ jobs:
- name: releases
run: |
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"
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"

View File

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

View File

@ -1,6 +1,3 @@
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
GROUPSID=com.mingliqiye.gitea.releases
VERSIONS=1.1
MAIMCLASSSTR=com.mingliqiye.gitea.releases.Main

View File