diff --git a/.github/workflows/docker-publish-dev.yml b/.github/workflows/docker-publish-dev.yml index b7092719..f6a14c3e 100644 --- a/.github/workflows/docker-publish-dev.yml +++ b/.github/workflows/docker-publish-dev.yml @@ -16,7 +16,7 @@ jobs: path: recipes/version.py contents: | VERSION_NUMBER = 'develop' - BUILD_REF = '${GITHUB_SHA}' + BUILD_REF = '${{ github.sha }}' write-mode: overwrite - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@2.13 diff --git a/cookbook/templates/system.html b/cookbook/templates/system.html index 3b65cccd..f930be4a 100644 --- a/cookbook/templates/system.html +++ b/cookbook/templates/system.html @@ -13,13 +13,16 @@

{% trans 'System Information' %}

{% blocktrans %} - Django Recipes is an open source free software application. It can be found on GitHub. + Django Recipes is an open source free software application. It can be found on + GitHub. Changelogs can be found here. {% endblocktrans %}

- Current Version: {{ version }}
- Ref: {{ ref }} + Current Version: {% if version and version != '' %} + {{ version }}{% else %} + {{ version }}{% endif %}
+ Ref: {{ ref }}