Skip to content

Commit

Permalink
strip docker prefix if present
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jan 24, 2024
1 parent 248e2c8 commit 834e75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ul class="list-unstyled small text-muted">
<li class="mb-2">Designed and built by <a href="https://floppy.org.uk">James</a> with help from <a href="https://github.com/manyfold3d/manyfold/graphs/contributors">our contributors</a>.</li>
<li class="mb-2">Open Source under the <a href="https://github.com/manyfold3d/manyfold/blob/main/LICENSE.md" target="_blank" rel="license noopener">MIT license</a>.</li>
<li class="mb-2">Version: <%= link_to "#{ENV.fetch("APP_VERSION", "unknown")} (#{ENV.fetch ("GIT_SHA", "main")[0,7]})",
<li class="mb-2">Version: <%= link_to "#{ENV.fetch("APP_VERSION", "unknown").split(":")[-1]} (#{ENV.fetch ("GIT_SHA", "main")[0,7]})",
"https://github.com/manyfold3d/manyfold/tree/#{ENV.fetch ("GIT_SHA", "main")}"%>
</li>
</ul>
Expand Down

0 comments on commit 834e75c

Please sign in to comment.