Skip to content

Commit

Permalink
update - fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Oct 28, 2021
1 parent efc810e commit 8c6ae7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/web/base/ga/subviews/system/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def update_view(request):
releases.append(version)

return render(request, 'system/update/online.html', context={
'request': request, 'title': 'System Update', 'releases': releases, 'current_version': current_version, 'online': online, 'config': config,
'request': request, 'title': 'System Update', 'releases': sorted(releases, reverse=True), 'current_version': current_version, 'online': online, 'config': config,
})

elif config_type == 'offline':
Expand Down
2 changes: 1 addition & 1 deletion setup/roles/update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ansible.builtin.set_fact:
ga_update_process: true
when: |
ga_update_release_new is version(ga_update_release_current, '<') or
ga_update_release_new is version(ga_update_release_current, '>') or
(ga_update_release_new == ga_update_release_current and ga_update_commit_new != ga_update_commit_current)
- name: GA | Update | Update should not be processed
Expand Down

0 comments on commit 8c6ae7f

Please sign in to comment.