#!/bin/bash

set -ex

git clone git@github.com:timsuchanek/last-git-changes.git
cd last-git-changes
npm install
npm run build
cd ..
node last-git-changes/bin.js --exclude='docs,examples,scripts,README.md,LICENSE,CONTRIBUTING.md'
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



#!/bin/bash

set -ex

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

echo $CHANGED_COUNT

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



Add .githublogo.svg.prettierrc.yml .prettierrignoreto to exluded files for Buildkite
Add .githublogo.svg.prettierrc.yml .prettierrignoreto to exluded files for Buildkite


Former-commit-id: 271493264bf36a0a99811909d88bf62743419113
Former-commit-id: 04693ad5d8b357b697a788d37126c37c97d923c9