我上传模块进去了 但是只有空文件夹 如何发布版本
https://deno.land/x/test2
No uploaded versions
This module name has been reserved for a repository, but no versions have been uploaded yet. Modules that do not upload a version within 30 days of registration will be removed.
我github设置了网络钩子 也有tag版本。deno库这边点自己的包进去就显示上面
可以在 Webhooks 页面查看 hooks 的状态
你这个状态没问题,创建一个 tag 后才会显示在 deno/x 上面
下面有详细的日志
响应也是200
下面全是Payload 也看不懂呀
贴一下
{
"zen": "Practicality beats purity.",
"hook_id": 333557029,
"hook": {
"type": "Repository",
"id": 333557029,
"name": "web",
"active": true,
"events": [
"create"
],
"config": {
"content_type": "json",
"insecure_ssl": "0",
"url": "https://api.deno.land/webhook/gh/import_test"
},
"updated_at": "2021-12-16T06:39:51Z",
"created_at": "2021-12-16T06:39:51Z",
"url": "https://api.github.com/repos/git136975643/import_test/hooks/333557029",
"test_url": "https://api.github.com/repos/git136975643/import_test/hooks/333557029/test",
"ping_url": "https://api.github.com/repos/git136975643/import_test/hooks/333557029/pings",
"deliveries_url": "https://api.github.com/repos/git136975643/import_test/hooks/333557029/deliveries",
"last_response": {
"code": null,
"status": "unused",
"message": null
}
},
"repository": {
"id": 438853721,
"node_id": "R_kgDOGihgWQ",
"name": "import_test",
"full_name": "git136975643/import_test",
"private": false,
"owner": {
"login": "git136975643",
"id": 63916062,
"node_id": "MDQ6VXNlcjYzOTE2MDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/63916062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/git136975643",
"html_url": "https://github.com/git136975643",
"followers_url": "https://api.github.com/users/git136975643/followers",
"following_url": "https://api.github.com/users/git136975643/following{/other_user}",
"gists_url": "https://api.github.com/users/git136975643/gists{/gist_id}",
"starred_url": "https://api.github.com/users/git136975643/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/git136975643/subscriptions",
"organizations_url": "https://api.github.com/users/git136975643/orgs",
"repos_url": "https://api.github.com/users/git136975643/repos",
"events_url": "https://api.github.com/users/git136975643/events{/privacy}",
"received_events_url": "https://api.github.com/users/git136975643/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/git136975643/import_test",
"description": "test import",
"fork": false,
"url": "https://api.github.com/repos/git136975643/import_test",
"forks_url": "https://api.github.com/repos/git136975643/import_test/forks",
"keys_url": "https://api.github.com/repos/git136975643/import_test/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/git136975643/import_test/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/git136975643/import_test/teams",
"hooks_url": "https://api.github.com/repos/git136975643/import_test/hooks",
"issue_events_url": "https://api.github.com/repos/git136975643/import_test/issues/events{/number}",
"events_url": "https://api.github.com/repos/git136975643/import_test/events",
"assignees_url": "https://api.github.com/repos/git136975643/import_test/assignees{/user}",
"branches_url": "https://api.github.com/repos/git136975643/import_test/branches{/branch}",
"tags_url": "https://api.github.com/repos/git136975643/import_test/tags",
"blobs_url": "https://api.github.com/repos/git136975643/import_test/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/git136975643/import_test/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/git136975643/import_test/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/git136975643/import_test/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/git136975643/import_test/statuses/{sha}",
"languages_url": "https://api.github.com/repos/git136975643/import_test/languages",
"stargazers_url": "https://api.github.com/repos/git136975643/import_test/stargazers",
"contributors_url": "https://api.github.com/repos/git136975643/import_test/contributors",
"subscribers_url": "https://api.github.com/repos/git136975643/import_test/subscribers",
"subscription_url": "https://api.github.com/repos/git136975643/import_test/subscription",
"commits_url": "https://api.github.com/repos/git136975643/import_test/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/git136975643/import_test/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/git136975643/import_test/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/git136975643/import_test/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/git136975643/import_test/contents/{+path}",
"compare_url": "https://api.github.com/repos/git136975643/import_test/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/git136975643/import_test/merges",
"archive_url": "https://api.github.com/repos/git136975643/import_test/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/git136975643/import_test/downloads",
"issues_url": "https://api.github.com/repos/git136975643/import_test/issues{/number}",
"pulls_url": "https://api.github.com/repos/git136975643/import_test/pulls{/number}",
"milestones_url": "https://api.github.com/repos/git136975643/import_test/milestones{/number}",
"notifications_url": "https://api.github.com/repos/git136975643/import_test/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/git136975643/import_test/labels{/name}",
"releases_url": "https://api.github.com/repos/git136975643/import_test/releases{/id}",
"deployments_url": "https://api.github.com/repos/git136975643/import_test/deployments",
"created_at": "2021-12-16T03:57:17Z",
"updated_at": "2021-12-16T06:37:45Z",
"pushed_at": "2021-12-16T06:16:04Z",
"git_url": "git://github.com/git136975643/import_test.git",
"ssh_url": "git@github.com:git136975643/import_test.git",
"clone_url": "https://github.com/git136975643/import_test.git",
"svn_url": "https://github.com/git136975643/import_test",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": null,
"allow_forking": true,
"is_template": false,
"topics": [
],
"visibility": "public",
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main"
},
"sender": {
"login": "git136975643",
"id": 63916062,
"node_id": "MDQ6VXNlcjYzOTE2MDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/63916062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/git136975643",
"html_url": "https://github.com/git136975643",
"followers_url": "https://api.github.com/users/git136975643/followers",
"following_url": "https://api.github.com/users/git136975643/following{/other_user}",
"gists_url": "https://api.github.com/users/git136975643/gists{/gist_id}",
"starred_url": "https://api.github.com/users/git136975643/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/git136975643/subscriptions",
"organizations_url": "https://api.github.com/users/git136975643/orgs",
"repos_url": "https://api.github.com/users/git136975643/repos",
"events_url": "https://api.github.com/users/git136975643/events{/privacy}",
"received_events_url": "https://api.github.com/users/git136975643/received_events",
"type": "User",
"site_admin": false
}
}
你应该是没有选择 tag event 吧
你重新创建一个 tag,看看有没有新增的 hooks 日志
成功了
感觉是打tag原因造成的。
一开始我是git tag -a v0.1.0
改成git tag v0.1.0就好了,不需要要-a参数
重新建模块和仓库 试了上面两种tag又都可以了。钩子状态是感叹号 dneo的包都正常 无语。deno上发布的带版本的包好像没法删除了吧?我删除对应的github仓库都删除不了deno上挂的库了
没法删除,只能发邮件删除
直接发给 luca@deno.com
,或者在 discord at 官方人员