6219fc06b9
* Move etc directory under detection_rules
* Prepend original `etc` path with `detection_rules`
* Update docstrings in util and CODEOWNERS
* Add resiliency to tags to account for the old directory structure
* Bug fix: remove unused param caused by commit 6ed1a39efe
Co-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com>
17 lines
296 B
Bash
Executable File
17 lines
296 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
|
# switch to
|
|
for BRANCH in $(echo $@ | sed "s/,/ /g")
|
|
do
|
|
echo $BRANCH
|
|
git checkout $BRANCH
|
|
git pull
|
|
python -m detection_rules dev build-release --update-version-lock
|
|
done
|
|
|
|
git checkout ${CURRENT_BRANCH}
|