You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github_release.sh
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,18 @@
1
+
# If you have an env file, and you've set SE variable to something
2
+
# other than tda, prevent the release from happening
3
+
if [ -f".env" ]
4
+
then
5
+
export$(cat .env | xargs)# Set env vars from .env file so they're accessible
6
+
if [[ $SE&&$SE!='tda' ]]
7
+
then
8
+
printf"Your SE environment variable is set to $SE.\nThe SE variable must be set to tda to create a release.\nPlease change it in your env file and try again."
0 commit comments