diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..9d2b500765d1713a226f2c54a130fc219ee42b05 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +ghc-bootstrap-9.2.3-1.src.rpm filter=lfs diff=lfs merge=lfs -text diff --git a/ghc-bootstrap-9.2.3-1.src.rpm b/ghc-bootstrap-9.2.3-1.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..31247164e80ac9c881d85fbda4d8aa85adef2833 --- /dev/null +++ b/ghc-bootstrap-9.2.3-1.src.rpm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa8d6a75ac369c0f7a9fca827d04cb94756e2ac757e8e3b6bc2b056372b12ba5 +size 350964044 diff --git a/pull_request.sh b/pull_request.sh new file mode 100755 index 0000000000000000000000000000000000000000..e692408fa202646fd2ecafdf839507253413ab9e --- /dev/null +++ b/pull_request.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +set -euo pipefail + + +commit() { + # get the files size more than 50MB but not in .git folder + local large_files=$(find . -path '*/.git' -prune -o -type f -size +50M -print) + + if [ ! -z "${large_files}" ]; then + git lfs install + git lfs track --filename ${large_files} + fi + git add . + + git commit -m 'apply new package ci pull request' + +} + + +commit