Compare commits
4 Commits
v1.5.3
...
renovate/h
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a924fad19 | ||
|
c1ed5ea92f
|
|||
|
3256ec63a2
|
|||
|
dd0ef88856
|
@@ -57,10 +57,18 @@ jobs:
|
||||
VITE_APP_VERSION: ${{ steps.version.outputs.version }}
|
||||
|
||||
- name: Setup Go
|
||||
uses: https://git.quad4.io/actions/setup-go@f50900cd786a0c549eed5a472b4f2c371ae8589f # v5
|
||||
uses: https://git.quad4.io/actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
||||
with:
|
||||
go-version: '1.25.5'
|
||||
|
||||
- name: Install Wails
|
||||
run: go install github.com/wailsapp/wails/v2/cmd/wails@ac867f658730618b79b4fbea194ccbbbddac28ee # v2.11.0
|
||||
|
||||
- name: Install Linux desktop build dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev
|
||||
|
||||
- name: Build server binaries
|
||||
run: |
|
||||
task build:backend
|
||||
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
- name: Setup Go
|
||||
uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
|
||||
uses: https://git.quad4.io/actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
||||
with:
|
||||
go-version: '1.25.5'
|
||||
- name: Run gosec security scan
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
name: frontend-build
|
||||
path: build/
|
||||
- name: Setup Go
|
||||
uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
|
||||
uses: https://git.quad4.io/actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
||||
with:
|
||||
go-version: '1.25.5'
|
||||
- name: Setup Task
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
|
||||
- name: Setup Go
|
||||
uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
|
||||
uses: https://git.quad4.io/actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
|
||||
- name: Setup Go
|
||||
uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
|
||||
uses: https://git.quad4.io/actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
|
||||
@@ -5,13 +5,18 @@
|
||||
|
||||
const REPO_URL = 'https://git.quad4.io/Quad4-Software/Linking-Tool';
|
||||
const isCommitSha = /^[a-f0-9]{7,}$/i.test(APP_VERSION);
|
||||
const isTag = APP_VERSION.startsWith('v') && APP_VERSION !== 'dev';
|
||||
|
||||
const displayVersion =
|
||||
APP_VERSION.startsWith('v') || APP_VERSION === 'dev' || isCommitSha
|
||||
? APP_VERSION
|
||||
: `v${APP_VERSION}`;
|
||||
|
||||
const versionUrl = isCommitSha ? `${REPO_URL}/commit/${APP_VERSION}` : REPO_URL;
|
||||
const versionUrl = isCommitSha
|
||||
? `${REPO_URL}/commit/${APP_VERSION}`
|
||||
: isTag
|
||||
? `${REPO_URL}/releases/tag/${APP_VERSION}`
|
||||
: REPO_URL;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -45,7 +50,7 @@
|
||||
>
|
||||
-
|
||||
<span class="inline-flex items-center gap-1">
|
||||
{#if isCommitSha}
|
||||
{#if isCommitSha || isTag}
|
||||
<a
|
||||
href={versionUrl}
|
||||
target="_blank"
|
||||
|
||||
Reference in New Issue
Block a user