Skip to content

Commit 9d08ae8

Browse files
authored
add dependency (#34957)
* add dependency * update for auto_release * update * update
1 parent 805820d commit 9d08ae8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

scripts/auto_release/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def generate_code(self):
206206

207207
# generate code(be careful about the order)
208208
print_exec('python scripts/dev_setup.py -p azure-core')
209+
print_exec('pip install PyGithub')
210+
print_exec('pip install GitPython')
209211
print_check(f'python -m packaging_tools.sdk_generator {self.autorest_result} {self.autorest_result}')
210212

211213
generate_result = self.get_autorest_result()

scripts/automation_init.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ PATH="$VIRTUAL_ENV/bin:$PATH"
1414
export PATH
1515
python -m pip install -U pip
1616
python scripts/dev_setup.py -p azure-core
17+
python -m pip install PyGithub
18+
python -m pip install GitPython
19+
1720
echo "{}" >> $2
1821
echo "[Generate] init success!!!"

0 commit comments

Comments
 (0)