publish-process
Workflow for publishing dataforge packages (annotation, generator) in the correct order.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Publish Process
- 发布前保证 所有 test passed
- 只更改 changelog.md 和 pubspec.yaml 里的 version 字段
- 不要删除 dependency_overrides。
- 先更新版本号。只改动 version: xxx 。其他的依赖版本不要改
- 始终保持 cli 和 generator 的
dataforge_annotation:和dataforge_base版本为空, - 始终保持 dataforge_base
dataforge_annotation:版本为空, - 编写 changelog
- 使用
dart compile exe cli/bin/dataforge_cli.dart -o cli/dataforge-${version}编译一个 产物 - 按顺序发布 a. dataforge_annotation b. dataforge_base b. dataforge_cli c. dataforge_generator
- 发布代码: fd pub publish 执行后等待一会 输入 y
- 发布结束后,执行 git add . && git commit -m "publish version:xx"
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!