cc8af968e3
* 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 commit6ed1a39efeCo-authored-by: Justin Ibarra <brokensound77@users.noreply.github.com> Removed changes from: - etc/packages.yml (selectively cherry picked from commit6219fc06b9)
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}
|