4d-publish-github
1
总安装量
1
周安装量
#53241
全站排名
安装命令
npx skills add https://github.com/e-marchand/skills --skill 4d-publish-github
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
4D Publish to GitHub
Publish a 4D project to GitHub with CI/CD workflows.
Scripts
Two scripts available, both support interactive and non-interactive modes.
1. publish.py – Publish to GitHub
Creates GitHub repository from 4D project.
Interactive mode:
python3 "<skill_path>/scripts/publish.py"
Non-interactive mode (with arguments):
python3 "<skill_path>/scripts/publish.py" --yes [options]
| Argument | Description |
|---|---|
--yes, -y |
Non-interactive mode |
--public |
Create public repository (default: private) |
--description "...", -d |
Repository description |
Examples:
# Interactive
python3 publish.py
# Private repo, no questions
python3 publish.py --yes
# Public repo with description
python3 publish.py --yes --public --description "My 4D component"
2. install_workflows.py – Add CI/CD Workflows
Installs build and release workflows.
Interactive mode:
python3 "<skill_path>/scripts/install_workflows.py"
Non-interactive mode (with arguments):
python3 "<skill_path>/scripts/install_workflows.py" --yes [options]
| Argument | Description |
|---|---|
--yes, -y |
Non-interactive mode |
--build |
Install build.yml |
--release-on-tag |
Install release workflow (triggered on tag push) |
--release-on-create |
Install release workflow (triggered on manual release) |
--no-push |
Don’t commit and push changes |
Examples:
# Interactive
python3 install_workflows.py
# Build workflow only
python3 install_workflows.py --yes --build
# Build + auto-release on tag
python3 install_workflows.py --yes --build --release-on-tag
# Release on manual create only
python3 install_workflows.py --yes --release-on-create
Creating Releases
With release-on-tag workflow
git tag v1.0.0
git push origin v1.0.0
With release-on-create workflow
- Go to repository â Releases â Create new release
- Fill release details and publish
- Workflow builds and attaches
.zipto the release