bump version to 0.2.1 (#134)

This commit is contained in:
l5y
2025-09-20 20:59:21 +02:00
committed by GitHub
parent 63787454ca
commit 608d1e0396
3 changed files with 7 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ MAX_JSON_BODY_BYTES = begin
rescue ArgumentError
DEFAULT_MAX_JSON_BODY_BYTES
end
VERSION_FALLBACK = "v0.2.0"
VERSION_FALLBACK = "v0.2.1"
def determine_app_version
repo_root = File.expand_path("..", __dir__)

View File

@@ -187,7 +187,7 @@ RSpec.describe "Potato Mesh Sinatra app" do
it "includes the application version in the footer" do
get "/"
expect(last_response.body).to include("Version: #{APP_VERSION}")
expect(last_response.body).to include("#{APP_VERSION}")
end
end

View File

@@ -321,14 +321,15 @@
</div>
<footer>
PotatoMesh GitHub: <a href="https://github.com/l5yth/potato-mesh" target="_blank">l5yth/potato-mesh</a>
PotatoMesh
<% if version && !version.empty? %>
<span class="mono"><%= version %></span> —
<% end %>
GitHub: <a href="https://github.com/l5yth/potato-mesh" target="_blank">l5yth/potato-mesh</a>
<% if matrix_room && !matrix_room.empty? %>
— <%= site_name %> Matrix:
<a href="https://matrix.to/#/<%= matrix_room %>" target="_blank"><%= matrix_room %></a>
<% end %>
<% if version && !version.empty? %>
— <span class="mono">Version: <%= version %></span>
<% end %>
</footer>
<script>