Skip to content

Commit

Permalink
旧版迁移说明
Browse files Browse the repository at this point in the history
  • Loading branch information
vilicvane committed Aug 17, 2023
1 parent 09278f6 commit a5c130d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default defineConfig({
{text: '状态 State', link: '/script/state.md'},
{text: '消息 Message', link: '/script/message.md'},
{text: '高级用法', link: '/script/advanced-usages.md'},
{text: '旧版迁移', link: '/script/legacy-migration.md'},
{
text: '示例',
items: [
Expand Down
16 changes: 16 additions & 0 deletions docs/script/legacy-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 旧版迁移

已部署的旧版代码将继续运行,但必须迁移后才能部署新的版本,请参考脚本文档进行修改。

如果迁移过程中遇到问题可以随时与我们沟通:

- [创建 issue](https://github.com/digshare/digshare-script/issues)
- [发送邮件](mailto:[email protected])

## 在线编辑器代码获取

部分用户使用了盯梢在线脚本编辑器创建脚本,新版暂时移除了在线编辑器的支持。如需获取之前的代码,可以[先创建新的盯梢脚本项目](./getting-started.md) 后执行以下命令:

```bash
npx dss retrieve-legacy
```

0 comments on commit a5c130d

Please sign in to comment.