diff --git a/1.json b/1.json new file mode 100644 index 0000000..65ebcbd --- /dev/null +++ b/1.json @@ -0,0 +1,1094 @@ +[ + { + "id": 63, + "tag_name": "1.0.25", + "target_commitish": "master", + "name": "1.0.25", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/63", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.25", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.25.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.25.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/63/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-06T21:42:33+08:00", + "published_at": "2026-04-06T21:42:33+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 62, + "tag_name": "1.0.24", + "target_commitish": "master", + "name": "1.0.24", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/62", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.24", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.24.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.24.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/62/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-05T22:53:23+08:00", + "published_at": "2026-04-05T22:53:23+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 61, + "tag_name": "1.0.23", + "target_commitish": "master", + "name": "1.0.23", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/61", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.23", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.23.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.23.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/61/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-05T21:49:35+08:00", + "published_at": "2026-04-05T21:49:35+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 60, + "tag_name": "1.0.22", + "target_commitish": "master", + "name": "1.0.22", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/60", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.22", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.22.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.22.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/60/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-03T22:12:15+08:00", + "published_at": "2026-04-03T22:12:15+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 59, + "tag_name": "1.0.21", + "target_commitish": "master", + "name": "1.0.21", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/59", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.21", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.21.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.21.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/59/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-03T13:56:19+08:00", + "published_at": "2026-04-03T13:56:19+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 58, + "tag_name": "1.0.20", + "target_commitish": "master", + "name": "1.0.20", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/58", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.20", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.20.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.20.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/58/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-02T14:40:48+08:00", + "published_at": "2026-04-02T14:40:48+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 57, + "tag_name": "1.0.19", + "target_commitish": "master", + "name": "1.0.19", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/57", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.19", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.19.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.19.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/57/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-04-01T10:54:09+08:00", + "published_at": "2026-04-01T10:54:09+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 56, + "tag_name": "1.0.18", + "target_commitish": "master", + "name": "1.0.18", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/56", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.18", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.18.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.18.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/56/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T18:02:42+08:00", + "published_at": "2026-03-29T18:02:42+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 55, + "tag_name": "1.0.17", + "target_commitish": "master", + "name": "1.0.17", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/55", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.17", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.17.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.17.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/55/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T17:34:30+08:00", + "published_at": "2026-03-29T17:34:30+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 54, + "tag_name": "1.0.16", + "target_commitish": "master", + "name": "1.0.16", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/54", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.16", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.16.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.16.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/54/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T17:09:36+08:00", + "published_at": "2026-03-29T17:09:36+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 53, + "tag_name": "1.0.15", + "target_commitish": "master", + "name": "1.0.15", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/53", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.15", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.15.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.15.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/53/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T16:41:30+08:00", + "published_at": "2026-03-29T16:41:30+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 52, + "tag_name": "1.0.14", + "target_commitish": "master", + "name": "1.0.14", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/52", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.14", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.14.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.14.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/52/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T16:15:57+08:00", + "published_at": "2026-03-29T16:15:57+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 51, + "tag_name": "1.0.13", + "target_commitish": "master", + "name": "1.0.13", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/51", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.13", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.13.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.13.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/51/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T15:50:10+08:00", + "published_at": "2026-03-29T15:50:10+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 50, + "tag_name": "1.0.12", + "target_commitish": "master", + "name": "1.0.12", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/50", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.12", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.12.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.12.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/50/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T15:05:42+08:00", + "published_at": "2026-03-29T15:05:42+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 49, + "tag_name": "1.0.11", + "target_commitish": "master", + "name": "1.0.11", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/49", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.11", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.11.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.11.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/49/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-29T14:49:43+08:00", + "published_at": "2026-03-29T14:49:43+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 48, + "tag_name": "1.0.10", + "target_commitish": "master", + "name": "1.0.10", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/48", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.10", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.10.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.10.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/48/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-28T10:41:57+08:00", + "published_at": "2026-03-28T10:41:57+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 46, + "tag_name": "1.0.9", + "target_commitish": "master", + "name": "1.0.9", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/46", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.9", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.9.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.9.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/46/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-27T14:06:09+08:00", + "published_at": "2026-03-27T14:06:09+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 45, + "tag_name": "1.0.8", + "target_commitish": "master", + "name": "1.0.8", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/45", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.8", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.8.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.8.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/45/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-27T11:24:46+08:00", + "published_at": "2026-03-27T11:24:46+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 44, + "tag_name": "1.0.7", + "target_commitish": "master", + "name": "1.0.7", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/44", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.7", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.7.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.7.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/44/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-26T14:29:34+08:00", + "published_at": "2026-03-26T14:29:34+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 43, + "tag_name": "1.0.6", + "target_commitish": "master", + "name": "1.0.6", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/43", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.6", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.6.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.6.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/43/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-26T10:06:51+08:00", + "published_at": "2026-03-26T10:06:51+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 42, + "tag_name": "1.0.5", + "target_commitish": "master", + "name": "1.0.5", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/42", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.5", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.5.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.5.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/42/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-25T17:14:49+08:00", + "published_at": "2026-03-25T17:14:49+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 41, + "tag_name": "1.0.4", + "target_commitish": "master", + "name": "1.0.4", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/41", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.4", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.4.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.4.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/41/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-25T15:26:02+08:00", + "published_at": "2026-03-25T15:26:02+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 40, + "tag_name": "1.0.3", + "target_commitish": "master", + "name": "1.0.3", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/40", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.3", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.3.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.3.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/40/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-25T12:20:57+08:00", + "published_at": "2026-03-25T12:20:57+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 39, + "tag_name": "1.0.2", + "target_commitish": "master", + "name": "1.0.2", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/39", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.2", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.2.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.2.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/39/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-25T11:22:36+08:00", + "published_at": "2026-03-25T11:22:36+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 38, + "tag_name": "1.0.1", + "target_commitish": "master", + "name": "1.0.1", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/38", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.1", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.1.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.1.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/38/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-23T15:14:16+08:00", + "published_at": "2026-03-23T15:14:16+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + }, + { + "id": 37, + "tag_name": "1.0.0", + "target_commitish": "master", + "name": "1.0.0", + "body": "", + "url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/37", + "html_url": "https://***/xiuxiuke/XXK.CRM/releases/tag/1.0.0", + "tarball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.0.tar.gz", + "zipball_url": "https://***/xiuxiuke/XXK.CRM/archive/1.0.0.zip", + "upload_url": "https://***/api/v1/repos/xiuxiuke/XXK.CRM/releases/37/assets", + "draft": false, + "prerelease": false, + "created_at": "2026-03-23T13:58:25+08:00", + "published_at": "2026-03-23T13:58:25+08:00", + "author": { + "id": 1, + "login": "***", + "login_name": "", + "source_id": 0, + "full_name": "", + "email": "***@qwit.top", + "avatar_url": "https://***/avatars/74935aae9f3ebdd3dc793d6fcee305a5", + "html_url": "https://***/***", + "language": "", + "is_admin": false, + "last_login": "0001-01-01T00:00:00Z", + "created": "2025-03-25T18:07:07+08:00", + "restricted": false, + "active": false, + "prohibit_login": false, + "location": "", + "website": "", + "description": "", + "visibility": "public", + "followers_count": 0, + "following_count": 0, + "starred_repos_count": 1, + "username": "***" + }, + "assets": [] + } +] \ No newline at end of file diff --git a/action.yaml b/action.yaml index dc1f944..62e59d4 100644 --- a/action.yaml +++ b/action.yaml @@ -30,33 +30,44 @@ runs: current_date=$(date +"%Y.%m.%d" | sed 's/\.0/\./g') echo "current_date=$current_date" - echo "curl -H 'Authorization:token ${{ inputs.token }}' ${{ inputs.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" + echo "正在调用API: ${{ inputs.server_url }}/api/v1/repos/${{ inputs.repository }}/releases" # 获取所有发布版本号 json='' - json=$(curl -H 'Authorization:token ${{ inputs.token }}' ${{ inputs.server_url }}/api/v1/repos/${{ gitea.repository }}/releases) - echo "json=$json" + json=$(curl -s -H 'Authorization:token ${{ inputs.token }}' ${{ inputs.server_url }}/api/v1/repos/${{ inputs.repository }}/releases) + echo "API响应长度: ${#json}" + echo "API响应前100字符: ${json:0:100}" # 检查是否存在当前日期的版本 - if [ -n "$json" ]; then - # 提取所有标签名 - tags=$(echo $json | grep -oP '"tag_name"\s*:\s*"\K[^"]*') + if [ -n "$json" ] && [ "$json" != "[]" ]; then + # 尝试使用jq工具解析JSON(更可靠) + if command -v jq &> /dev/null; then + echo "使用jq解析JSON" + tags=$(echo "$json" | jq -r '.[].tag_name') + else + # 回退到使用grep解析 + echo "使用grep解析JSON" + tags=$(echo $json | grep -oP '"tag_name"\s*:\s*"\K[^"]*') + fi + + echo "提取到的标签数量: $(echo "$tags" | wc -l)" + echo "前5个标签: $(echo "$tags" | head -5)" + # 过滤出当前日期的版本 date_tags=$(echo "$tags" | grep "^$current_date") - echo "date_tags=$date_tags" + echo "当前日期的标签: $date_tags" if [ -n "$date_tags" ]; then # 计算当前日期版本的数量 count=$(echo "$date_tags" | wc -l) - # 如果有多个版本,添加数字后缀 - if [ $count -gt 0 ]; then - version="$current_date-$count" - else - version="$current_date" - fi + echo "当前日期版本数量: $count" + # 版本号格式为日期-数字 + version="$current_date-$count" else + # 没有当前日期的版本,使用初始版本号 version="$current_date" fi else + echo "未获取到发布版本信息,使用初始版本号" version="$current_date" fi