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:
parent
e5a115e811
commit
2f202820d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user