Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
04714d0d
Commit
04714d0d
authored
Sep 10, 2015
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9634 from edx/use-latest-gitpython
Use latest version of GitPython
parents
b03ba6f9
85a18e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
scripts/release.py
+11
-2
No files found.
scripts/release.py
View file @
04714d0d
...
...
@@ -22,7 +22,7 @@ try:
import
yaml
except
ImportError
:
print
(
"Error: missing dependencies! Please run this command to install them:"
)
print
(
"pip install path.py requests python-dateutil GitPython
==0.3.2.RC1
PyYAML"
)
print
(
"pip install path.py requests python-dateutil GitPython PyYAML"
)
sys
.
exit
(
1
)
try
:
...
...
@@ -32,7 +32,16 @@ except ImportError:
JIRA_RE
=
re
.
compile
(
r"\b[A-Z]{2,}-\d+\b"
)
PR_BRANCH_RE
=
re
.
compile
(
r"remotes/edx/pr/(\d+)"
)
PROJECT_ROOT
=
path
(
__file__
)
.
abspath
()
.
dirname
()
def
project_root
():
directory
=
path
(
__file__
)
.
abspath
()
.
dirname
()
while
not
(
directory
/
".git"
)
.
exists
():
directory
=
directory
.
parent
return
directory
PROJECT_ROOT
=
project_root
()
repo
=
Repo
(
PROJECT_ROOT
)
git
=
repo
.
git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment