spacemacs/.circleci/make_patch

16 lines
367 B
Plaintext
Raw Normal View History

2021-07-05 23:15:33 +00:00
#!/usr/bin/env bash
## make_patch Creates patch file with the current changes.
##
## Copyright (c) 2014-2021 Sylvain Benner & Contributors
##
## Author: Eugene Yaremenko
## URL: https://github.com/syl20bnr/spacemacs
##
## This file is not part of GNU Emacs.
##
## License: GPLv3
if [[ `git status --porcelain` ]]; then
git diff HEAD > "/tmp/${PUBLISH}.patch"
fi