{"id":22514680,"url":"https://github.com/worktile/wt-publish","last_synced_at":"2025-03-28T01:44:37.697Z","repository":{"id":85245472,"uuid":"174333312","full_name":"worktile/wt-publish","owner":"worktile","description":"Used for automatic publishing SDK","archived":false,"fork":false,"pushed_at":"2019-04-10T14:31:46.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-02T03:27:44.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/worktile.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-07T11:41:49.000Z","updated_at":"2019-04-10T14:31:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"bda7af7e-c1f0-4b5d-bda6-ba7db25742b9","html_url":"https://github.com/worktile/wt-publish","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worktile%2Fwt-publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worktile%2Fwt-publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worktile%2Fwt-publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worktile%2Fwt-publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worktile","download_url":"https://codeload.github.com/worktile/wt-publish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245954140,"owners_count":20699777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T03:20:17.044Z","updated_at":"2025-03-28T01:44:37.685Z","avatar_url":"https://github.com/worktile.png","language":"JavaScript","readme":"# wt-publish\n\n Used for automatic publishing SDK\n\n## install\n\n```shell\nnpm i wt-publish -g\n```\n\n## use\n\n```shell\n#publish\nwt-publish \n# or\nwt-publish -N|--sdk \u003csdkName\u003e\n#如果有多个sdk也可以不加参数使用\n\n#update\nwt-publish -U|--update [sdkName]\n#不指定 [sdkName] 时,将创建一个新的配置文件\n\n# Clear the directory cache\nwt-publish -C|--clear [sdkName]\n# 不指定 [sdkName] 时,删除本目录所有配置\n```\n* 当前目录不存在package.json无法使用\n* 支持从单个仓库生成多个sdk\n* 首次使用需要配置仓库地址，千万别配置错了,否则会覆盖线上仓库\n* 使用默认版本号时将不进行tag提交,默认版本号为远程仓库最新版本号\n* 会在当前目录生成 publish.json 文件,可以直接修改配置使用,建议提交到github共享配置\n\n## publish.json\n\n```json\n{\n\t\"wt-tartarus-sdk-built\": {\n\t\t\"sdkName\": \"wt-tartarus-sdk-built\",\n\t\t\"script\": \"npm run build:sdk\",\n\t\t\"source\": \"sdk-build\",\n\t\t\"username\": \"atinc\"\n\t}\n}\n```\n\n\n\n ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworktile%2Fwt-publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworktile%2Fwt-publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworktile%2Fwt-publish/lists"}