Last active
March 15, 2021 22:16
-
-
Save zackproser/a3a759e3474b43336d5f4504b48888f1 to your computer and use it in GitHub Desktop.
circle-ci-workflows-upgrade.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Upgrading CircleCI workflows syntax to 2..." | |
yq w -i .circleci/config.yml 'workflows.version' 2 | |
# remove stray merge tags from the final output | |
sed -i '/!!merge /d' .circleci/config.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment