diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index fe921a1..f0d497f 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -32,6 +32,10 @@ jobs: echo "::set-output name=TAG::$TAGS" echo "::set-output name=PRIMARY_TAG::$PRIMARY_TAG" + - name: Update Version in Code + run: | + sed -i 's/insert-version/${{ steps.gathervars.outputs.VERSION }}/g' ./src/routes/settings.html.svelte + - name: Log in to the Container registry uses: docker/login-action@v1 with: diff --git a/src/routes/settings.html.svelte b/src/routes/settings.html.svelte index ea7d0b4..332d364 100644 --- a/src/routes/settings.html.svelte +++ b/src/routes/settings.html.svelte @@ -23,6 +23,8 @@
+
+

Version

insert-version {/if}