Chore show version in settings (#7)

* dynamically inject version

* update publish-release
This commit is contained in:
routerino 2022-07-29 15:49:23 +10:00 committed by GitHub
parent dba944b9af
commit b9f4b9b69e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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: