Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add build packages before release #656

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .codebuild/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ else
git fetch --all
yarn install
git restore .
yarn production-build
fi

if [ -z "$GITHUB_EMAIL" ]; then
Expand Down Expand Up @@ -51,4 +52,4 @@ if [[ "$BRANCH_NAME" =~ ^tagged-release ]]; then
fi
else
yarn publish:$BRANCH_NAME
fi
fi
3 changes: 2 additions & 1 deletion shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ function runE2eTest {
}

function _deploy {
_setShell
echo "Deploy"
echo "Authenticate with NPM"
PUBLISH_TOKEN=$(echo "$NPM_PUBLISH_TOKEN" | jq -r '.token')
echo "//registry.npmjs.org/:_authToken=$PUBLISH_TOKEN" > ~/.npmrc
./.codebuild/scripts/publish.sh
}
}