circleci: Fix build

This commit is contained in:
Jonatan Nilsson 2020-09-12 20:15:15 +00:00
parent f2f7d9ef9d
commit 1007fa279c

View file

@ -24,7 +24,7 @@ jobs:
command: |
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[", ]//g')
echo "Packaging to ${CIRCLE_PROJECT_REPONAME}_build-sc.zip"
zip "${CIRCLE_PROJECT_REPONAME}_build-sc.zip" index.mjs package.json api/**/* api/*
zip "${CIRCLE_PROJECT_REPONAME}_build-sc.zip" index.mjs package.json public api/**/* api/*
echo "Creating release '${PACKAGE_VERSION}.${CIRCLE_BUILD_NUM}'"
github-release upload \
--commitish $CIRCLE_SHA1 \