Skip to content

Commit

Permalink
fixed missing version set in desktop app main
Browse files Browse the repository at this point in the history
  • Loading branch information
pricelessrabbit committed Apr 24, 2024
1 parent b22df10 commit c88bc75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
uses: ./.github/actions/wails-build-action
id: build
with:
app-version: v0.1.4-r1
app-version: ${{github.ref_name}}
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
wails-build-webview2: embed
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/gofiber/fiber/v2/log"
"github.com/nats-nui/nui/desktop/mapping"
"github.com/nats-nui/nui/internal/app"
"github.com/nats-nui/nui/internal/version"
"github.com/nats-nui/nui/pkg/logging"
"github.com/nats-nui/nui/pkg/ospaths"
"github.com/wailsapp/wails/v2"
Expand All @@ -26,6 +27,8 @@ var Version string

func main() {

version.Set(Version)

logLevel := *flag.String("log-level", "info", "log level")
logsOutput := *flag.String("log-output", "", "log output")
dbPath := *flag.String("db-path", "", "path to the database")
Expand Down

0 comments on commit c88bc75

Please sign in to comment.