Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Dec 4, 2019
1 parent 3224537 commit 07fd3bc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .buildkite/buildkite-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@

set -ex

buildkite-agent pipeline upload .buildkite/trigger.yml
git clone git@github.com:timsuchanek/last-git-changes.git
cd last-git-changes
npm install
npm run build
cd ..
export CHANGED_COUNT=$(node last-git-changes/bin.js --exclude='docs,examples,scripts,README.md,LICENSE,CONTRIBUTING.md' | wc -l)

echo $CHANGED_COUNT

if [ $CHANGED_COUNT -gt 0 ]; then
buildkite-agent pipeline upload .buildkite/trigger.yml
else
echo "Nothing changed"
fi


4 changes: 2 additions & 2 deletions cli/prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"bin": "build/index.js",
"prisma": {
"version": "20bbc6cf7de95c16b043709efacda51464a13fef"
"version": "ea02c3b1cb77bbde00ced5433d069c4eecc2de2d"
},
"devDependencies": {
"@prisma/cli": "workspace:*",
Expand Down Expand Up @@ -62,4 +62,4 @@
"build": "pnpm run tsc && pnpm run ncc:download && rm -rf build && pnpm run ncc && sed -i.bak 's/env ts-node/env node/g' 'build/index.js' && rm -f build/index.js.bak && scripts/copy-runtime.sh",
"prepublishOnly": "pnpm run download && pnpm run ncc:download && pnpm run install && pnpm run test && pnpm run build"
}
}
}

0 comments on commit 07fd3bc

Please sign in to comment.