FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/Makefile at no_devnull_open · og-python-scripts/GitPython · GitHub
og-python-scripts
/
GitPython
Public
forked from
gitpython-developers/GitPython
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
GitPython
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 561 Bytes
Breadcrumbs
GitPython
/
Makefile
Copy path
File metadata and controls
18 lines (15 loc) · 561 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
all
:
@grep -Ee
'
^[a-z].*:
'
Makefile
|
cut -d: -f1
|
grep -vF all
clean
:
rm -rf build/ dist/
release
: clean
#
Check if latest tag is the current head we're releasing
echo
"
Latest tag =
$$
(git tag | sort -nr | head -n1)
"
echo
"
HEAD SHA =
$$
(git rev-parse head)
"
echo
"
Latest tag SHA =
$$
(git tag | sort -nr | head -n1 | xargs git rev-parse)
"
@test
"
$$
(git rev-parse head)
"
=
"
$$
(git tag | sort -nr | head -n1 | xargs git rev-parse)
"
make force_release
force_release
: clean
git push --tags
python setup.py sdist bdist_wheel
twine upload dist/
*
Back
|
FazBrowse Home
|
New Git URL