Skip to content

Commit

Permalink
修复打包version设置问题
Browse files Browse the repository at this point in the history
  • Loading branch information
aoliaoaoaojiao committed May 17, 2024
1 parent d9279ba commit 0ba959d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- name: Checkout main repository
uses: actions/checkout@v2

- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"

- name: Initialize submodules
run: git submodule update --init --recursive

Expand Down
4 changes: 2 additions & 2 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

var versionCmd = &cobra.Command{
Use: "version",
Short: "Version code of sas",
Long: "Version code of sas",
Short: "Version code of fionna",
Long: "Version code of fionna",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("FIONNA_VERSION")
},
Expand Down

0 comments on commit 0ba959d

Please sign in to comment.