Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Fix revno
Browse files Browse the repository at this point in the history
  • Loading branch information
Madison Scott-Clary committed Nov 18, 2016
1 parent 4e21d7e commit 104fb5a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions core/management/commands/git_revno.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def handle(self, *args, **kwargs):
"""
revno = subprocess.check_output(
['git', 'rev-parse', '--verify', 'HEAD']).strip()
try:
revno = revno.decode()
except:
pass

with open(os.sep.join(['honeycomb', 'revno.py']), 'w') as f:
f.write("GIT_REVNO = '{}'\nVERSION = '{}'\n".format(
Expand Down
2 changes: 1 addition & 1 deletion honeycomb/revno.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GIT_REVNO = 'b'38b71df39dde6efc0ab5ef20e364975ddee83469''
GIT_REVNO = '4e21d7e00c0a1b88a24a77c2a1cdca2d682d214c'
VERSION = 'pre-release'
Binary file modified models.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions sloc.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Count Location
0 core/management/__init__.py
0 core/management/commands/__init__.py
7 core/management/commands/clear_old_notifications.py
20 core/management/commands/git_revno.py
24 core/management/commands/git_revno.py
7 core/management/commands/rotate_activitystream.py
15 core/management/commands/test_git_revno.py
40 core/management/commands/test_update_flatpages.py
Expand Down Expand Up @@ -188,4 +188,4 @@ Count Location
24 usermgmt/urls.py
9 usermgmt/utils.py
87 usermgmt/views.py
12886 TOTAL
12890 TOTAL

0 comments on commit 104fb5a

Please sign in to comment.