Only show tag if there is one

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
This commit is contained in:
Sebastian Hädrich 2024-06-17 14:39:26 +02:00 committed by GitHub
parent c7ace2fb82
commit 4077bdfb98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,6 +157,7 @@
<a href="https://github.com/iv-org/invidious/commit/<%= CURRENT_COMMIT %>"><%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %></a> <a href="https://github.com/iv-org/invidious/commit/<%= CURRENT_COMMIT %>"><%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %></a>
<% end %> <% end %>
@ <%= CURRENT_BRANCH %> @ <%= CURRENT_BRANCH %>
<% if CURRENT_TAG != "" %>
( (
<% if CONFIG.modified_source_code_url %> <% if CONFIG.modified_source_code_url %>
<a href="<%= CONFIG.modified_source_code_url %>/releases/tag/<%= CURRENT_TAG %>"><%= CURRENT_TAG %></a> <a href="<%= CONFIG.modified_source_code_url %>/releases/tag/<%= CURRENT_TAG %>"><%= CURRENT_TAG %></a>
@ -164,6 +165,7 @@
<a href="https://github.com/iv-org/invidious/releases/tag/<%= CURRENT_TAG %>"><%= CURRENT_TAG %></a> <a href="https://github.com/iv-org/invidious/releases/tag/<%= CURRENT_TAG %>"><%= CURRENT_TAG %></a>
<% end %> <% end %>
) )
<% end %>
</span> </span>
</div> </div>
</div> </div>