Defaults:
- Local execution is prevented
- Dry run is set
This prevents any accidental releases.
dagger call configure --allow-local release --token env:GH_TOKEN stdout
dagger call configure --allow-local --dry-run=false release --token env:GH_TOKEN stdout
Note: Branch must exist on remote source. Local-only branches will return "This test run was triggered on the branch , while semantic-release is configured to only publish from main."
dagger call configure --allow-local --add-current-branch release --token env:GH_TOKEN stdout
dagger call configure --allow-local --add-current-branch release --token env:GH_TOKEN file --path ".releaserc.json" contents | jq
dagger call configure --allow-local --add-current-branch release --token env:GH_TOKEN file --path ".releaserc.json" export --path ".releaserc.modified.json"
cat .releaserc.json.modified | jq