Skip to content

Commit

Permalink
build: fix for sem rel
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Nov 7, 2019
1 parent 5958f53 commit bffcea4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./build/prepare-release.sh ${nextRelease.version}"
"prepareCmd": "./prepare-release.sh ${nextRelease.version}"
}
],
[
Expand Down
7 changes: 6 additions & 1 deletion src/ambianic/webapp/server/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,12 @@ def get_timeline(before_datetime=None, page=1, data_dir=None):
log.debug('Timeline path: %s', p.resolve())
with p.open() as pf:
timeline_events = yaml.safe_load(pf)
log.debug('Fetched timeline file with %d events: ', len(timeline_events))
# latest_events_first = timeline_events.reverse()
log.debug('Fetched timeline file into struct of type %r with %d events: ',
type(timeline_events),
len(timeline_events))
# bring latest events to front
timeline_events.reverse()
# files = sorted(files, key=os.path.getmtime, reverse=True)
# for json_file in files[page_start_position:page_end_position]:
# if
Expand Down

0 comments on commit bffcea4

Please sign in to comment.