1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 11:17:05 +03:00

add basic branch logic

This commit is contained in:
Shawn Allen 2017-07-07 15:22:22 -07:00
parent e5a115e811
commit 2f202820d6

View File

@ -1,3 +1,8 @@
#!/bin/sh
echo '🤡🎈 They all float down here.'
if [[ $BRANCH = master ]];
npm run publish
elif [[ $BRANCH = dev ]];
npm run publish-rc
else
npm run publish-canary
fi