From 659734c556a5fc53881777ed558fe462b345ba6d Mon Sep 17 00:00:00 2001 From: Brian Gann Date: Sun, 17 May 2020 00:47:57 -0500 Subject: [PATCH] use git lfs --- .circleci/config.yml | 3 +++ .gitattributes | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.circleci/config.yml b/.circleci/config.yml index 6cd8723..6faa025 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -93,6 +93,8 @@ jobs: - run: name: "Publish Release on GitHub" command: | + apk add --update --no-cache git-lfs + git lfs install PROJECT_NAME=grafana-kiosk RELEASE_NOTES=`awk 'BEGIN {FS="##"; RS=""} FNR==3 {print; exit}' CHANGELOG.md` VERSION=`awk 'BEGIN {FS="##"; RS=""} FNR==2 {print; exit}' CHANGELOG.md | cut -f2 -d' '` @@ -137,6 +139,7 @@ jobs: git config user.email "eng@grafana.com" git config user.name "CircleCI Automation" git checkout -b release-${VERSION} + cp -p bin/* artifacts/ git add --force artifacts git add --force bin git add --force coverage diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e56fe4e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +bin/** filter=lfs diff=lfs merge=lfs -text +artifacts/** filter=lfs diff=lfs merge=lfs -text