This file contains hidden or 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
#!/bin/bash | |
# Tag your October CMS plugin's repo with versions. | |
# Run from plugin working directory | |
if [ ! -d .git ]; then | |
echo "Not a git repo" && exit 1; | |
elif [ ! -f updates/version.yaml ]; then | |
echo "Plugin version.yaml not found" && exit 1; | |
fi |