This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.circleci/select

25 lines
581 B
Text
Raw Normal View History

#!/usr/bin/env bash
2019-04-03 04:23:55 +00:00
## This script selects changed files.
##
## Copyright (c) 2012-2014 Sylvain Benner
## Copyright (c) 2014-2018 Sylvain Benner & Contributors
##
## Author: Eugene Yaremenko
## URL: https://github.com/syl20bnr/spacemacs
##
## This file is not part of GNU Emacs.
##
## License: GPLv3
skip_when_branch_update
fail_when_undefined_pr_number
2020-09-06 12:11:59 +00:00
files_json=$(curl "${pr_file_list_URL}" --silent)
2020-09-06 12:11:59 +00:00
for file_name in $(echo "${files_json}" | jq -r '.[].filename'); do
echo "${file_name}" >> /tmp/changed_files
done
2019-04-03 04:23:55 +00:00
echo_headline "CHANGED FILES:"
cat /tmp/changed_files