mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 02:34:43 +00:00
Chore show version in settings (#7)
* dynamically inject version * update publish-release
This commit is contained in:
parent
dba944b9af
commit
b9f4b9b69e
2 changed files with 6 additions and 0 deletions
4
.github/workflows/publish-release.yaml
vendored
4
.github/workflows/publish-release.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue