Skip to content

Commit

Permalink
refactor(generator): add Ldflags for release also
Browse files Browse the repository at this point in the history
  • Loading branch information
cage1016 committed Sep 3, 2023
1 parent 886ca4e commit 2e57947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/githubactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (gg *GithubActionGenerator) Generate() error {
"ReleaseName": "Release",
"EnabledCodeSign": gg.Enabled_Code_Sign_Notarize,
"WorkflowName": strings.ReplaceAll(viper.GetString("workflow.name"), " ", ""),
"Ldflags": fmt.Sprintf("-X %s/cmd.EnabledAutoUpdate=false", viper.GetString("go_mod_package")),
"BundleID": viper.GetString("workflow.bundle_id"),
"ApplicationIdentity": viper.GetString("gon.application_identity"),
"WorkaroundExt": "_", // fix awgo update check multiple release exist
Expand Down

0 comments on commit 2e57947

Please sign in to comment.