FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-zh-cn/.github/scripts/update.sh at master · python/python-docs-zh-cn · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
python-docs-zh-cn
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
103
Star
466
Code
Issues
5
Pull requests
3
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
update.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
22 lines (16 loc) · 559 Bytes
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
update.sh
Copy path
File metadata and controls
executable file
·
22 lines (16 loc) · 559 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!
/bin/bash
set
-u
cd
cpython
||
exit
1
#
Restore git timestamp for enabling build cache
rev=HEAD
for
f
in
$(
git ls-tree -r -t --full-name --name-only
"
$rev
"
Doc
)
;
do
touch -d
$(
git log --pretty=format:%cI -1
"
$rev
"
--
"
$f
"
)
"
$f
"
;
done
cd
..
cd
docs
||
exit
1
#
Restore git timestamp for enabling build cache
rev=HEAD
for
f
in
$(
git ls-tree -r -t --full-name --name-only
"
$rev
"
)
;
do
touch -d
$(
git log --pretty=format:%cI -1
"
$rev
"
--
"
$f
"
)
"
$f
"
;
done
$(
realpath ../tx
)
pull --languages
"
$LOCALE
"
-t --use-git-timestamps --workers 25 --silent
Back
|
FazBrowse Home
|
New Git URL