danger / swift

⚠️ Stop saying "you forgot to …" in code review
https://danger.systems/swift/
MIT License
1.04k stars 136 forks source link

Extract dev dependencies to switch development and release easily #491

Closed 417-72KI closed 2 years ago

417-72KI commented 2 years ago

In this repo, dependencies for development are commented out when release and uncommented soon. Unfortunately, there has been a fatal issue caused by unhiding Danger Deps (#475).

I think it was a human error, and this PR can avoid it by centralizing management by a simple flag instead of commenting out multiple lines.

When release, we just switch a flag to false to make it same condition as previous tags😎