FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
databases/scripts/publish at drop-python3.6 · pythonran/databases · GitHub
pythonran
/
databases
Public
forked from
encode/databases
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
databases
/
scripts
/
publish
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (19 loc) · 593 Bytes
Breadcrumbs
databases
/
scripts
/
publish
Copy path
File metadata and controls
executable file
·
26 lines (19 loc) · 593 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
23
24
25
26
#!
/bin/sh -e
VERSION_FILE=
"
databases/__init__.py
"
if
[
-d
'
venv
'
]
;
then
PREFIX=
"
venv/bin/
"
else
PREFIX=
"
"
fi
if
[
!
-z
"
$GITHUB_ACTIONS
"
]
;
then
git config --local user.email
"
41898282+github-actions[bot]@users.noreply.github.com
"
git config --local user.name
"
GitHub Action
"
VERSION=
`
grep __version__
${VERSION_FILE}
|
grep -o
'
[0-9][^"]*
'
`
if
[
"
refs/tags/
${VERSION}
"
!=
"
${GITHUB_REF}
"
]
;
then
echo
"
GitHub Ref '
${GITHUB_REF}
' did not match package version '
${VERSION}
'
"
exit
1
fi
fi
set
-x
${PREFIX}
twine upload dist/
*
${PREFIX}
mkdocs gh-deploy --force
Back
|
FazBrowse Home
|
New Git URL