Skip to content

Commit

Permalink
fix: Export env vars correctly in sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Oct 28, 2020
1 parent 9cf632f commit 1c60ad7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/jetpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
DIRNAME="node_modules/@moonwalker/jetpack/bin"

# Load env vars
source "${DIRNAME}/env.sh"
. "${DIRNAME}/env.sh"

# Run commands
ORG=$ORG REPO=$REPO \
PRODUCT=$PRODUCT \
PRODUCT_ID=$PRODUCT_ID \
BRANCH=$BRANCH \
COMMIT=$COMMIT \
SENTRY_ORG=$SENTRY_ORG \
SENTRY_PROJECT=$SENTRY_PROJECT \
"${DIRNAME}/run.js" $@

0 comments on commit 1c60ad7

Please sign in to comment.