json 未知的 meta规范,无法验证,[规格v1.0.1]

lymnna71  于 2023-07-01  发布在  其他
关注(0)|答案(1)|浏览(117)

PGXN上传问题:

我正在尝试把这个发行包升级到PGXN,这是新版本my_extension 1.0.1。先前的扩展名:https://pgxn.org/dist/my_extension/1.0.0/
获取此错误:Error message
扩展代码在我的github上:https://github.com/IshaanAdarsh/Postgres-extension-tutorial/tree/main/Code/my_extension
回归测试工作正常,其他一切都正常。
下面给出了META.json文件的代码,我已经在多个网站上检查过了,这是有效的JSON。你能帮我找出我的代码有什么问题吗:

{
  "name": "my_extension",
  "abstract": "A Basic PostgreSQL extension",
  "description": "my_extension is a PostgreSQL extension that provides additional functionality for data management and operations.",
  "version": "1.0.1",
  "maintainer": [
    "Ishaan Adarsh <ishaanad9@gmail.com>"
  ],
  "license": "postgresql",
  "provides": {
    "my_extension": {
      "file": "my_extension--1.0.1.sql",
      "docfile": "doc/my_extension.md",
      "version": "1.0.1"
    }
  },
  "generated_by": "Ishaan Adarsh",
  "meta-spec": {
    "version": "1.0.1",
    "url": "https://pgxn.org/meta/spec.txt"
  }
}
6qfn3psc

6qfn3psc1#

meta-spec的版本必须是1.0.0。这是指JSON规范的版本,而不是您的模块版本。1.0.0是唯一存在的规范。

相关问题