xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.72k stars 95 forks source link

Sadly, the release check does not actually work because of werid tag name #1031

Closed shenlebantongying closed 1 year ago

shenlebantongying commented 1 year ago

https://github.com/xiaoyifang/goldendict-ng/blob/f7e43479d6c3908a7cee759c9464dfffc2843092/src/ui/mainwindow.cc#L2905

image

From v23.06.01-ChildrenDay.230601.6d3d4053 to tag-GreatHeat.fbf82af1

This breaks things like

https://github.com/hu3rror/scoop-muggle/blob/276416923a11d63d99dfa1aa0229c601ef09eae5/bucket/goldendict-ng.json#L25-L30

https://salsa.debian.org/debian/goldendict-ng/-/blob/master/debian/watch#L4

that relies on v23.07.28.other_things :sweat_smile:

Of course we can use other things like created_at from the release api.

{
  "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/113172620",
  "assets_url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/113172620/assets",
  "upload_url": "https://uploads.github.com/repos/xiaoyifang/goldendict-ng/releases/113172620/assets{?name,label}",
  "html_url": "https://github.com/xiaoyifang/goldendict-ng/releases/tag/tag-GreatHeat.fbf82af1",
  "id": 113172620,
  "author": {
    "login": "github-actions[bot]",
    "id": 41898282,
    "node_id": "MDM6Qm90NDE4OTgyODI=",
    "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/github-actions%5Bbot%5D",
    "html_url": "https://github.com/apps/github-actions",
    "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
    "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
    "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
    "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
    "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
    "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
    "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
    "type": "Bot",
    "site_admin": false
  },
  "node_id": "RE_kwDOFp3zjc4GvuCM",
  "tag_name": "tag-GreatHeat.fbf82af1",
  "target_commitish": "staged",
  "name": "GoldenDict-ng-v23.07.23-GreatHeat.230722.fbf82af1",
  "draft": false,
  "prerelease": false,
  "created_at": "2023-07-21T07:53:53Z",
  "published_at": "2023-07-22T00:39:45Z",
  "assets": [
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065914",
      "id": 118065914,
      "node_id": "RA_kwDOFp3zjc4HCYr6",
      "name": "5.15.2-GoldenDict-ng-Installer.exe",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 103307207,
      "download_count": 78,
      "created_at": "2023-07-22T00:47:10Z",
      "updated_at": "2023-07-22T00:47:14Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/5.15.2-GoldenDict-ng-Installer.exe"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065260",
      "id": 118065260,
      "node_id": "RA_kwDOFp3zjc4HCYhs",
      "name": "5.15.2-GoldenDict-NG-x86_64.AppImage",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 161166528,
      "download_count": 31,
      "created_at": "2023-07-22T00:39:46Z",
      "updated_at": "2023-07-22T00:39:49Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/5.15.2-GoldenDict-NG-x86_64.AppImage"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065644",
      "id": 118065644,
      "node_id": "RA_kwDOFp3zjc4HCYns",
      "name": "5.15.2-GoldenDict.exe",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 4891648,
      "download_count": 14,
      "created_at": "2023-07-22T00:44:33Z",
      "updated_at": "2023-07-22T00:44:34Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/5.15.2-GoldenDict.exe"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065923",
      "id": 118065923,
      "node_id": "RA_kwDOFp3zjc4HCYsD",
      "name": "5.15.2-GoldenDict.exe_windows-2019_20230722.zip",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 129628958,
      "download_count": 82,
      "created_at": "2023-07-22T00:47:15Z",
      "updated_at": "2023-07-22T00:47:20Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/5.15.2-GoldenDict.exe_windows-2019_20230722.zip"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118066923",
      "id": 118066923,
      "node_id": "RA_kwDOFp3zjc4HCY7r",
      "name": "6.4.3-GoldenDict_macos-12_homebrew_20230722.dmg",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 263333945,
      "download_count": 23,
      "created_at": "2023-07-22T00:56:22Z",
      "updated_at": "2023-07-22T00:56:29Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.4.3-GoldenDict_macos-12_homebrew_20230722.dmg"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065766",
      "id": 118065766,
      "node_id": "RA_kwDOFp3zjc4HCYpm",
      "name": "6.4.3-GoldenDict_macos-13_homebrew_20230722.dmg",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 263012013,
      "download_count": 61,
      "created_at": "2023-07-22T00:45:45Z",
      "updated_at": "2023-07-22T00:45:54Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.4.3-GoldenDict_macos-13_homebrew_20230722.dmg"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065942",
      "id": 118065942,
      "node_id": "RA_kwDOFp3zjc4HCYsW",
      "name": "6.5.1-GoldenDict-ng-Installer.exe",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 131473556,
      "download_count": 107,
      "created_at": "2023-07-22T00:47:30Z",
      "updated_at": "2023-07-22T00:47:35Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.5.1-GoldenDict-ng-Installer.exe"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065292",
      "id": 118065292,
      "node_id": "RA_kwDOFp3zjc4HCYiM",
      "name": "6.5.1-GoldenDict-NG-x86_64.AppImage",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 197514432,
      "download_count": 85,
      "created_at": "2023-07-22T00:40:05Z",
      "updated_at": "2023-07-22T00:40:10Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.5.1-GoldenDict-NG-x86_64.AppImage"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065958",
      "id": 118065958,
      "node_id": "RA_kwDOFp3zjc4HCYsm",
      "name": "6.5.1-GoldenDict.exe_windows-2019_20230722.zip",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 165981795,
      "download_count": 188,
      "created_at": "2023-07-22T00:47:37Z",
      "updated_at": "2023-07-22T00:47:41Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.5.1-GoldenDict.exe_windows-2019_20230722.zip"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065601",
      "id": 118065601,
      "node_id": "RA_kwDOFp3zjc4HCYnB",
      "name": "6.5.1.windows-2019-GoldenDict.exe",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 7213568,
      "download_count": 36,
      "created_at": "2023-07-22T00:43:57Z",
      "updated_at": "2023-07-22T00:43:58Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.5.1.windows-2019-GoldenDict.exe"
    },
    {
      "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/assets/118065603",
      "id": 118065603,
      "node_id": "RA_kwDOFp3zjc4HCYnD",
      "name": "6.5.1.windows-2019-GoldenDict.pdb",
      "label": "",
      "uploader": {
        "login": "github-actions[bot]",
        "id": 41898282,
        "node_id": "MDM6Qm90NDE4OTgyODI=",
        "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-actions%5Bbot%5D",
        "html_url": "https://github.com/apps/github-actions",
        "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "content_type": "binary/octet-stream",
      "state": "uploaded",
      "size": 39522304,
      "download_count": 4,
      "created_at": "2023-07-22T00:43:59Z",
      "updated_at": "2023-07-22T00:44:01Z",
      "browser_download_url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/tag-GreatHeat.fbf82af1/6.5.1.windows-2019-GoldenDict.pdb"
    }
  ],
  "tarball_url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/tarball/tag-GreatHeat.fbf82af1",
  "zipball_url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/zipball/tag-GreatHeat.fbf82af1",
  "body": "#### Install instructions for Windows, macOS and Linux \n\n<https://xiaoyifang.github.io/goldendict-ng/install/>.\n\n#### Filename pattern (文件名模式): **[Qt version]-GoldenDict-ng-[OS]-[release-date].[ext]**  \n\nQt6.X is recommended for various enhancements.\n\nWindows users can use either `****-installer.exe` (for installer) or `****.zip` (unzip and run).\nThe `goldendict.exe` can be dropped into previous installation's folder (if dependencies aren't changed).\n\nLinux users can use AppImages.\n\nmacOS users can use `.dmg` installer.\n\n`6.5.1-GoldenDict.exe_windows-2019_20230701.zip` means built with Qt6.5.1, windows/msvc-2019 at 20230701 as a zip archive.\n\n#### Build Details\n\nAppImage: Ubuntu-20.04\nmacOS: macOS-12 and macOS-13\nWindows: Visual studio 2019\n\n\n\n#### Changes\n\n## 🚀 Features\n\n- opt: slob dictionary does not display goldendict headword\n   - PR: #785\n- opt: iconv remove unused parameter\n   - PR: #799\n- feat: add `article-script.js`\n   - PR: #807\n- feat: expose linux's selection clipboard delay timer to user\n   - PR: #818\n- opt: use QFontCombox instead\n   - PR: #781\n- feat: make initialize ui more human-friendly\n   - PR: #843\n- feat: add -v --version flag to CLI\n   - PR: #868\n- feat: load and display ZIM dictionary icon\n   - PR: #873\n- opt: unify windows icon\n   - PR: #882\n- opt: dsl remove useless method and refactor langcodes logic\n   - PR: #889\n- opt: group widget remove all tabs\n   - PR: #892\n- feat: XDXF: distinguish `ex_orig` and `ex_tran`\n   - PR: #900\n- opt: dsl target url attribute \n   - PR: #915\n- opt: add fullindex position\n   - PR: #916\n- opt: refactor folding auto-generate file\n   - PR: #933\n- opt: limit the number of stardict's extra synonym (from `.syn`) searching\n   - PR: #935\n- opt: boost slob fulltext speed\n   - PR: #960\n- opt: pronounce audio rewrite\n   - PR: #922\n- opt: add open index folder to dict info dialog\n   - PR: #965\n- feat: add font customization\n   - PR: #973\n- opt: rewrite release check\n   - PR: #975\n- feat: sync group widget with tab (one group per tab)\n   - PR: #976\n- opt: use qcache to hold mdx css file\n   - PR: #970\n- feat: use \"Fusion\" style on macOS by default and add option to switch between styles on Linux & macOS\n   - PR: #986\n- feat: use parallel thread to create the fts\n   - PR: #980\n- opt: replace sounddir dictionary icon\n   - PR: #991\n\n## 🐛 Fixes\n\n- fix: code smells\n   - PR: #789\n- fix: highlight fts search result\n   - PR: #792\n- fix: invalid data access of data field\n   - PR: #797\n- fix: new release check ,download url is incorrect\n   - PR: #803\n- fix: remove `for` loop with most one iteration\n   - PR: #804\n- fix: define PROGRAM_DATA_DIR for cmake\n   - PR: #805\n- Fix: stardict's xdxf resources failed to convert because Qt6's QDomDocument is stricter\n   - PR: #812\n- fix: wikipedia query parameter is incorrect\n   - PR: #819\n- fix: replace suggestion list with QCompleter\n   - PR: #808\n- fix: macos icudata can not be found\n   - PR: #824\n- fix: remove unused configuration\n   - PR: #831\n- fix: remove toggle main windows extra parameter\n   - PR: #828\n- fix: support dsl dictionary utf encoding detection\n   - PR: #830\n- fix: add an --reset-windows-state option to command line\n   - PR: #829\n- fix: keep the application name unchanged for now\n   - PR: #835\n- fix: dsl remove too old code logic\n   - PR: #837\n- fix: merge history items when import history items\n   - PR: #838\n- fix: adjust margin around dictionary group\n   - PR: #844\n- fix: fulltext remove query word size check\n   - PR: #845\n- fix: possible crash\n   - PR: #836\n- fix: slob fullindex will freeze the preference dialog\n   - PR: #851\n- fix: qtimer release memory\n   - PR: #863\n- fix: macOS missing slot warning\n   - PR: #881\n- fix: refactor editDictionary logic\n   - PR: #856\n- fix: code smells in group widget\n   - PR: #901\n- fix:dsl language parse issue\n   - PR: #903\n- fix: tts only enable current locale\n   - PR: #912\n- fix: statusbar crash  at some rare conditions \n   - PR: #917\n- fix: possible crash when show()\n   - PR: #920\n- fix: when search hypen `-` alone will result too much unnecessary result.\n   - PR: #929\n- fix: sounddir audio extension\n   - PR: #938\n- fix: splash windows optimization\n   - PR: #940\n- fix: website encoding problem\n   - PR: #942\n- fix: qt5 website output response as text/plain\n   - PR: #948\n- fix: terminator handler does not work as expected\n   - PR: #945\n- fix: unicode regex option support\n   - PR: #950\n- fix: a possible crash of restoreState() in linux with qt6.5.1\n   - PR: #954\n- fix: warning about \"Release of profile requested but WebEnginePage st…\n   - PR: #956\n- fix: forbidden window.location on website dictionary\n   - PR: #963\n- fix: treat unknown dsl tags as text\n   - PR: #969\n- fix: pronounce the first dictionary audio if availabe\n   - PR: #981\n- fix: website/program should not appears in \"AutoGroupByFolder\"\n   - PR: #983\n- fix: sound played twice in popup dialog\n   - PR: #985\n- fix: [regression]scanpopup right context menu lost dictionary list\n   - PR: #989\n\n##  🤖  Github action\n\n- action: modify xapian note\n   - PR: #782\n- action: when packaging release version ,add an extra tag following th…\n   - PR: #786\n- action: autotag condition\n   - PR: #790\n- action: remove `-xapian`\n   - PR: #791\n- action: upgrade qt version from qt6.4.3 to qt6.5.1\n   - PR: #794\n- action: add fcitx im module to AppImage builds\n   - PR: #796\n- action:change log\n   - PR: #801\n- action: add fcitx5-qt6 im plugin to appimage build\n   - PR: #802\n- action: update release note\n   - PR: #817\n- action: change release change-log generation logic\n   - PR: #847\n- action: modify release note\n   - PR: #855\n- action: update tag when upload release\n   - PR: #883\n- action: release tag\n   - PR: #894\n- action: remove xapian in the action name\n   - PR: #896\n- action: ubuntu build libzim from source\n   - PR: #897\n- action: windows package order\n   - PR: #898\n- action: remove commit log changes\n   - PR: #959\n- action: use autofix.ci to format code\n   - PR: #972\n\n##  🧼  Clean Code\n\n- clean: convert `MainWindow::addGlobalAction` SLOT to new syntax\n   - PR: #849\n- clean: convert Scanpopup edictGroupRequested to new syntax\n   - PR: #852\n- clean: convert a few trivial old SIGNAL/SLOT to new syntax\n   - PR: #853\n- clean: remove config old code\n   - PR: #866\n- clean: remove redundant `dictionaryNativeIcon`\n   - PR: #876\n- clean: remove duplicated exCantReadFile definitions\n   - PR: #879\n- clean: unify DataRequest string data appends\n   - PR: #899\n- clean: unify how data added to dataRequestInstant\n   - PR: #907\n- clean: remove zstd which is unused since the migration to libzim\n   - PR: #946\n- clean: reformat everything and add `.git-blame-ignore-revs`\n   - PR: #988\n\n\n\n<details>\n<summary>🔴 Uncategorized</summary>\n\n- cmake: polishments\n   - PR: #787\n- cmake: duplicated tomlplusplus include\n   - PR: #788\n- cmake: fix build on Windows Debug\n   - PR: #798\n- New Crowdin updates\n   - PR: #815\n- fix global translateLineText not being updated \n   - PR: #826\n- New Crowdin updates\n   - PR: #827\n- Win Specific: upgrade opencc\n   - PR: #840\n- fix regression: select translation line text when got focused\n   - PR: #841\n- update initializing.ui & splash img\n   - PR: #846\n- macos: change plist file\n   - PR: #859\n- doc: update fulltext document\n   - PR: #869\n- New Crowdin updates\n   - PR: #871\n- ubuntu: appimage use ubuntu 20.04 instead\n   - PR: #875\n- guard against null img for ZIM\n   - PR: #878\n- Update splash.png\n   - PR: #885\n- New Crowdin updates\n   - PR: #908\n- New Crowdin updates\n   - PR: #909\n- New Crowdin updates\n   - PR: #910\n- New Crowdin updates\n   - PR: #913\n- New Crowdin updates\n   - PR: #918\n- doc: update fts related strings \n   - PR: #919\n- New Crowdin updates\n   - PR: #921\n- misc fts fix\n   - PR: #923\n- docs: simplify unnecessary tech info in the release page\n   - PR: #924\n- New Crowdin updates\n   - PR: #932\n- update documentation\n   - PR: #934\n- New Crowdin updates\n   - PR: #943\n- New Crowdin updates\n   - PR: #977\n- New Crowdin updates\n   - PR: #984\n\n</details>",
  "reactions": {
    "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/113172620/reactions",
    "total_count": 5,
    "+1": 5,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
  }
}
xiaoyifang commented 1 year ago

Of course we can use other things like created_at from the release api.

what about name .

tag_** generated by release action . I drop v prefix to make it differentiate with the tags generated by the auto-tag action

shenlebantongying commented 1 year ago

image

I think for formal release, we should have just v23.07.23 as the tag which also includes built artifacts and is marked as release on GitHub.

Adding other things to it should be ok, but it should starts with v23.07.23-other_things

For places that rely on automated checkers, they can just grab it from github's release API and get the version number from the tag, or pick up releases via regex ^v[\.\d]+$ from all tags and do a simple sort to get the latest version.

https://github.com/xiaoyifang/goldendict-ng/issues/729#issuecomment-1571253078

https://github.com/xiaoyifang/goldendict-ng/issues/701#issuecomment-1550789220

shenlebantongying commented 1 year ago

Assuming this is fixed at the next release.