Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e57947

Browse files
committed
refactor(generator): add Ldflags for release also
1 parent886ca4e commit2e57947

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎generator/githubactions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func (gg *GithubActionGenerator) Generate() error {
4141
"ReleaseName":"Release",
4242
"EnabledCodeSign":gg.Enabled_Code_Sign_Notarize,
4343
"WorkflowName":strings.ReplaceAll(viper.GetString("workflow.name")," ",""),
44+
"Ldflags":fmt.Sprintf("-X %s/cmd.EnabledAutoUpdate=false",viper.GetString("go_mod_package")),
4445
"BundleID":viper.GetString("workflow.bundle_id"),
4546
"ApplicationIdentity":viper.GetString("gon.application_identity"),
4647
"WorkaroundExt":"_",// fix awgo update check multiple release exist

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp