Created
September 16, 2014 10:16
-
-
Save tmtk75/cd81f16424560cc5badb to your computer and use it in GitHub Desktop.
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
| case "refs/tags/v0.1.0" in | |
| refs/heads/production|refs/tags/v[0-9]\.*) | |
| echo "OK" | |
| ;; | |
| *) | |
| echo "NG" | |
| ;; | |
| esac | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This shows "NG" if I replaced
v0.1.0withva.1.0.I think this pattern works well as my expectation.