diff --git a/generator/githubactions.go b/generator/githubactions.go index 358426f..6185679 100644 --- a/generator/githubactions.go +++ b/generator/githubactions.go @@ -52,49 +52,47 @@ func (gg *GithubActionGenerator) Generate() error { // generate release.yml { m, err := te.Execute("release.yml", map[string]interface{}{ - "ReleaseName": "Release", + "ReleaseName": "Gallery Release", "EnabledCodeSign": gg.Enabled_Code_Sign_Notarize, "EnabledCodecov": gg.Enabled_Codecov, "EnabledGolang": gg.Enabled_Golang, - "WorkflowName": strings.ReplaceAll(viper.GetString("workflow.name"), " ", ""), + "WorkflowName": fmt.Sprintf("%s_GALLERY", 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 }) if err != nil { return err } - err = fs.NewDefaultFs(".github/workflows").WriteFile("release.yml", m, viper.GetBool("ak_force")) + err = fs.NewDefaultFs(".github/workflows").WriteFile("release-gallery.yml", m, viper.GetBool("ak_force")) if err != nil { return err } - logrus.Debugf("generating release.yml") + logrus.Debugf("generating release-gallery.yml") } // generate with auto update release.yml { m, err := te.Execute("release.yml", map[string]interface{}{ - "ReleaseName": "Release_auto_update", + "ReleaseName": "Github Release", "EnabledCodeSign": gg.Enabled_Code_Sign_Notarize, "EnabledCodecov": gg.Enabled_Codecov, "EnabledGolang": gg.Enabled_Golang, - "WorkflowName": fmt.Sprintf("%s_auto_update", strings.ReplaceAll(viper.GetString("workflow.name"), " ", "")), + "WorkflowName": fmt.Sprintf("%s_GITHUB", strings.ReplaceAll(viper.GetString("workflow.name"), " ", "")), "Ldflags": fmt.Sprintf("-X %s/cmd.EnabledAutoUpdate=true", viper.GetString("go_mod_package")), "BundleID": viper.GetString("workflow.bundle_id"), "ApplicationIdentity": viper.GetString("gon.application_identity"), - "WorkaroundExt": "", // empty for auto update }) if err != nil { return err } - err = fs.NewDefaultFs(".github/workflows").WriteFile("release_auto_update.yml", m, viper.GetBool("ak_force")) + err = fs.NewDefaultFs(".github/workflows").WriteFile("release-github.yml", m, viper.GetBool("ak_force")) if err != nil { return err } - logrus.Debugf("generating release_auto_update.yml") + logrus.Debugf("generating release-github.yml") } return nil diff --git a/template/bindata.go b/template/bindata.go index 0e906c1..cffdc89 100644 --- a/template/bindata.go +++ b/template/bindata.go @@ -8,8 +8,8 @@ // tmpl/dotenv.tmpl (157B) // tmpl/info.plist.tmpl (808B) // tmpl/makefile.tmpl (982B) -// tmpl/partials/step_build_pack.tmpl (873B) -// tmpl/partials/step_build_sign.tmpl (2.112kB) +// tmpl/partials/step_build_pack.tmpl (837B) +// tmpl/partials/step_build_sign.tmpl (2.058kB) // tmpl/partials/step_install.tmpl (455B) // tmpl/release.yml.tmpl (709B) // icons/update-available.png (3.856kB) @@ -96,7 +96,7 @@ func tmplGitignoreTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/.gitignore.tmpl", size: 3857, mode: os.FileMode(0644), modTime: time.Unix(1692522816, 0)} + info := bindataFileInfo{name: "tmpl/.gitignore.tmpl", size: 3857, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xd6, 0xb9, 0x4b, 0x18, 0x9a, 0x72, 0x31, 0x4e, 0x5, 0x40, 0x3a, 0x61, 0xf0, 0xfe, 0x38, 0x71, 0x73, 0x63, 0x26, 0x83, 0x8b, 0xb3, 0x84, 0x43, 0x60, 0xae, 0x8f, 0xcf, 0xf8, 0x11, 0x30}} return a, nil } @@ -116,7 +116,7 @@ func tmplAkJsonTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/ak.json.tmpl", size: 719, mode: os.FileMode(0644), modTime: time.Unix(1692514548, 0)} + info := bindataFileInfo{name: "tmpl/ak.json.tmpl", size: 719, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x47, 0xfd, 0xb9, 0x81, 0xc2, 0x2a, 0xa5, 0xd0, 0x86, 0x77, 0xae, 0xa3, 0xb8, 0xd2, 0xf2, 0xf5, 0xcc, 0xdf, 0x31, 0x83, 0x6e, 0x23, 0x37, 0xdf, 0xd7, 0x6f, 0x69, 0xe4, 0xd7, 0x2d, 0xfd, 0xf5}} return a, nil } @@ -136,7 +136,7 @@ func tmplCmdMainTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/cmd.main.tmpl", size: 162, mode: os.FileMode(0644), modTime: time.Unix(1692522816, 0)} + info := bindataFileInfo{name: "tmpl/cmd.main.tmpl", size: 162, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0xf6, 0x3a, 0xee, 0xc7, 0xe, 0x2d, 0x59, 0x9e, 0xe8, 0xb5, 0xcd, 0x3d, 0xf1, 0x82, 0xef, 0x94, 0x9e, 0x81, 0xaa, 0x5d, 0x85, 0xf2, 0xbd, 0xc1, 0xc4, 0xbe, 0xea, 0x1c, 0xbd, 0xa2, 0xdb}} return a, nil } @@ -156,7 +156,7 @@ func tmplCmdRootTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/cmd.root.tmpl", size: 1064, mode: os.FileMode(0644), modTime: time.Unix(1693644531, 0)} + info := bindataFileInfo{name: "tmpl/cmd.root.tmpl", size: 1064, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x40, 0x5d, 0xe7, 0x94, 0xf0, 0xf7, 0x58, 0x3f, 0xaa, 0x88, 0x18, 0xbc, 0x1d, 0x8, 0x17, 0xd2, 0x6f, 0x79, 0x3, 0x7f, 0x97, 0xf1, 0x12, 0xf1, 0xde, 0x3f, 0x19, 0x55, 0xb5, 0x96, 0xce, 0x13}} return a, nil } @@ -176,7 +176,7 @@ func tmplCmdUpdateTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/cmd.update.tmpl", size: 1390, mode: os.FileMode(0644), modTime: time.Unix(1693662327, 0)} + info := bindataFileInfo{name: "tmpl/cmd.update.tmpl", size: 1390, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0x68, 0x3c, 0xc3, 0xfd, 0xea, 0x66, 0x4, 0xe6, 0xd3, 0xe0, 0x3f, 0x48, 0xca, 0xc, 0x9a, 0x46, 0x38, 0xba, 0x50, 0x46, 0x30, 0xaa, 0x8f, 0x9c, 0x59, 0xf7, 0x8f, 0xd, 0xf7, 0x5b, 0x8c}} return a, nil } @@ -196,7 +196,7 @@ func tmplDotenvTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/dotenv.tmpl", size: 157, mode: os.FileMode(0644), modTime: time.Unix(1692514548, 0)} + info := bindataFileInfo{name: "tmpl/dotenv.tmpl", size: 157, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0xd1, 0x5a, 0xd0, 0xa5, 0x5a, 0xc4, 0x1, 0x23, 0xc1, 0xe6, 0xf8, 0x29, 0x47, 0xda, 0x4, 0x37, 0x5b, 0x8c, 0x17, 0xe9, 0x18, 0xf0, 0x6f, 0x95, 0xdf, 0x18, 0xbc, 0x32, 0x48, 0xfd, 0xff}} return a, nil } @@ -216,7 +216,7 @@ func tmplInfoPlistTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/info.plist.tmpl", size: 808, mode: os.FileMode(0644), modTime: time.Unix(1692514548, 0)} + info := bindataFileInfo{name: "tmpl/info.plist.tmpl", size: 808, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0x89, 0x57, 0x6, 0x2b, 0x50, 0x65, 0x3c, 0x57, 0x6c, 0x6e, 0x67, 0x2a, 0xe6, 0x8c, 0xe1, 0x29, 0x2a, 0xe3, 0x91, 0x32, 0xe9, 0x17, 0xc3, 0xc0, 0xfc, 0xc8, 0x2c, 0x84, 0xc0, 0x7b, 0xb4}} return a, nil } @@ -236,12 +236,12 @@ func tmplMakefileTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/makefile.tmpl", size: 982, mode: os.FileMode(0644), modTime: time.Unix(1693720480, 0)} + info := bindataFileInfo{name: "tmpl/makefile.tmpl", size: 982, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x72, 0xea, 0xee, 0x11, 0x56, 0xf7, 0xb9, 0x7a, 0xb, 0x19, 0x25, 0xfc, 0xa0, 0x2, 0x39, 0xf2, 0x73, 0x36, 0x6b, 0x41, 0xde, 0xb5, 0x79, 0xdd, 0x2b, 0xf9, 0xba, 0xce, 0xe6, 0x79, 0x26, 0x30}} return a, nil } -var _tmplPartialsStep_build_packTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x3d\x6f\xdb\x30\x10\xdd\xf3\x2b\x1e\x54\x0f\xed\x40\x66\x29\x3a\x04\x70\x80\x26\x30\x9c\x02\x45\x0c\x34\xfd\x18\x9d\x8b\x78\x52\x89\x50\x24\x41\x51\xb1\x51\x96\xff\xbd\x90\xac\xd8\x4a\x6a\x20\x8b\xb9\xe9\x89\xef\xe3\xa4\x77\xe8\x8f\x80\xa5\x86\x2f\x80\xab\x4e\x1b\x05\xb2\x0a\x9e\xca\xc7\x33\x8c\x27\x74\xf6\x02\x7f\x53\xd2\x15\xe4\xc2\xd2\x83\x61\xb5\x74\x86\x6c\x9d\xf3\xfe\x0e\xf0\x0e\x0f\x03\xbd\xa7\x52\xcd\x93\x37\xcb\xd5\xea\x6e\xae\x28\x6c\xb4\xc5\x72\xf5\xf9\xdb\xf5\xcd\x9c\x1a\xf5\xe9\x23\x6a\x37\x72\x84\x51\x95\xa1\xba\x45\x21\x5a\x88\xcd\xce\xea\xeb\x0e\xcb\x19\x29\x1d\x1e\x52\x62\xab\x72\x2e\x20\x1c\x78\xcb\xeb\x41\xe9\x0d\xb3\xd0\x9c\xca\xac\x57\x9a\x98\x19\xed\x1d\x44\x19\x98\x22\x43\xb8\x2e\xfa\x2e\x42\x6e\x5c\x78\xac\x8c\xdb\x9c\xf3\x96\x0f\x19\x8f\x0a\x84\x06\x47\xa7\xd8\xe3\xaf\xee\x8f\x81\x5e\x7c\xf6\x17\xff\x0a\x28\xd5\x21\xc1\x04\xf6\xa6\x8b\xda\x40\x04\xf6\x86\x4a\xc6\x13\x87\x56\x3b\x0b\xd1\xc6\xa0\x6d\x8d\x22\xa5\xfb\x59\x4a\x60\xfb\x24\x23\xd5\xc8\xf9\xbe\x1f\x5c\xdb\xca\x49\x6f\x74\x1b\x27\x5a\x7f\xb4\x87\x08\x90\xf2\xbc\x48\x49\xfe\x1a\xcd\x6e\xa9\xe1\x9c\xc5\x31\x1d\x49\xa6\x0a\xac\x9e\x63\x8d\x24\x0a\xae\xb3\x6a\xb1\x8d\xbd\x91\x7c\x35\x82\x3c\x9b\x00\x5c\xfe\x76\x28\x28\x44\x5d\x51\x19\xe7\xb3\xf7\x3b\xe0\x54\xe6\x1f\x0a\x5c\x5e\x62\xb6\xfc\xf2\xfd\xe6\xc7\xd5\x7a\x71\xfb\x73\xe8\x44\xbf\x07\xcf\x7d\xbf\x76\x8a\xef\x74\x6d\xff\x5f\x80\x94\x22\x37\xde\xf4\x05\x28\xda\xc8\x7e\x3d\x94\x6c\xdd\xea\xda\x16\x90\xfb\x0a\xfd\x0b\x00\x00\xff\xff\x56\xf0\xa6\x5a\x69\x03\x00\x00" +var _tmplPartialsStep_build_packTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x52\x4d\x6b\x1b\x31\x10\xbd\xe7\x57\x3c\x54\x1f\xda\x83\x94\x4b\xe9\x21\xe0\x40\x13\x82\x53\x28\x31\x34\xfd\x38\x3a\x93\xd5\xec\x56\x44\x2b\x09\xad\x36\x0e\x55\xf5\xdf\xcb\xda\x1b\x7b\xe3\x1a\x0a\x25\x73\xdb\xb7\x33\xef\xbd\xd1\x3c\x0c\x25\xe1\xa8\xe5\x33\xe0\xa2\x37\x56\x83\x9c\x46\xa0\xea\xe1\x04\x63\xc5\xde\x9d\xe1\x77\xce\xa6\x86\xba\x72\x74\x6f\x59\x2f\xbc\x25\xd7\x94\xb2\xeb\x01\xde\xe0\x7e\x33\x3e\x8c\x52\xc3\x93\x3f\x8b\xe5\xf2\x76\xae\x29\xae\x8d\xc3\x62\xf9\xf1\xcb\xe5\xf5\x9c\x5a\xfd\xe1\x3d\x1a\x3f\xce\x48\xab\x6b\x4b\x4d\x07\x21\x3b\xc8\xf5\x56\xea\xf3\x16\x2b\x05\x39\xef\x3f\x72\x66\xa7\x4b\x11\x90\x1e\xfc\xc4\xab\x0d\xd3\x3f\xc4\x62\xfb\x5a\x62\x03\xd3\x44\xcc\x9a\xe0\x21\xab\xc8\x94\x18\xd2\xf7\x29\xf4\x09\x6a\xed\xe3\x43\x6d\xfd\xfa\x94\x9f\x78\xef\xf1\x28\x41\x6c\x71\x74\x8b\x1d\x7e\xd0\x3f\x1a\x7a\xf1\xec\x2f\x6e\x05\x54\x7a\xef\x60\x02\x07\xdb\x27\x63\x21\x23\x07\x4b\x15\xe3\x91\x63\x67\xbc\x83\xec\x52\x34\xae\x81\xc8\xf9\x6e\x96\x33\xd8\x3d\xaa\x44\x0d\x4a\xb9\x1b\x16\x37\xae\xf6\x2a\x58\xd3\xa5\x09\xd7\x2f\x13\x20\x23\x94\x3a\x15\x39\xab\x1f\xa3\xd8\x0d\xb5\x5c\x8a\x3c\xc6\xa3\xc8\xd6\x91\xf5\xb3\x2d\x01\x75\x60\x58\x9d\x4c\x00\xae\x7e\x7a\x08\x8a\xc9\xd4\x54\xa5\xf9\xec\xed\x16\xf8\x3f\xa9\x77\x02\xe7\xe7\x98\x2d\x3e\x7d\xbd\xfe\x76\xb1\xba\xba\xf9\xbe\xb9\xf7\x90\xf1\xe7\x2c\x5f\x7a\xcd\xb7\xa6\x71\x7f\x87\x3b\xe7\xc4\x6d\xb0\xc3\x71\x45\x97\x38\xac\x36\x01\x5a\x75\xa6\x71\x02\x6a\x17\x8f\x3f\x01\x00\x00\xff\xff\x21\x60\x7b\xd3\x45\x03\x00\x00" func tmplPartialsStep_build_packTmplBytes() ([]byte, error) { return bindataRead( @@ -256,12 +256,12 @@ func tmplPartialsStep_build_packTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/partials/step_build_pack.tmpl", size: 873, mode: os.FileMode(0644), modTime: time.Unix(1693830574, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0x38, 0xdd, 0x70, 0xaa, 0xe7, 0x1, 0x24, 0x5, 0x78, 0xbf, 0x23, 0x2b, 0xc5, 0x3f, 0x1c, 0x66, 0x6f, 0xa9, 0x74, 0xdd, 0xed, 0xe6, 0xf, 0x95, 0x4, 0x1b, 0x54, 0x54, 0x4, 0x75, 0x76}} + info := bindataFileInfo{name: "tmpl/partials/step_build_pack.tmpl", size: 837, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x68, 0x65, 0xb, 0xc5, 0x24, 0x30, 0xa1, 0xce, 0xd4, 0xb4, 0x7c, 0xe1, 0x48, 0x27, 0x49, 0xe8, 0xf, 0x1f, 0xbd, 0xd6, 0xa7, 0x28, 0x82, 0x3a, 0xeb, 0x1c, 0xe4, 0xee, 0xa6, 0x33, 0x36, 0x52}} return a, nil } -var _tmplPartialsStep_build_signTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x55\xd1\x6e\xea\x38\x10\x7d\xef\x57\x8c\x72\xfb\xb0\x2b\x6d\x82\xa8\xae\xee\x43\x74\x5b\x6d\x80\x74\x8b\xb6\x5b\x10\xd0\xf6\xa1\xaa\x52\x93\x0c\x89\xb7\xc6\xb6\x6c\x03\xdd\xb2\xf9\xf7\x95\x43\x48\x13\x48\x55\x6d\x55\x3f\x19\xcf\x99\xf1\x99\x33\x3e\x01\xec\x72\x81\x93\x25\xfa\x30\x5c\x4a\xa1\x0c\xf4\x45\x82\xee\x94\xa6\x9c\xf2\x14\xfa\xa8\x0c\x5d\xd0\x98\x18\xd4\x27\x50\xae\x95\x46\xed\x43\x20\x25\x43\x37\x88\x0d\x15\x5c\x77\x68\x91\xec\xc6\x22\x41\x4d\x53\xee\xc6\xa8\x8c\xfe\x7d\xdd\xad\x92\x36\xd4\x64\x7e\xf5\x0b\xe0\x1b\xcc\x32\x84\xb8\x56\x1f\x28\x07\x02\xe3\x3f\xfb\xd3\xee\x19\x2c\x28\x43\x40\x6e\xeb\x25\x40\x34\x10\x98\x13\x8d\x3f\xbe\x83\x36\x8a\xf2\xb4\x56\x48\x76\xcf\x5c\x8b\x76\x77\x00\x1f\x9c\xed\xf6\xe9\x74\xbb\x05\x8d\xb1\x42\xa3\xbd\x60\x3c\xbe\x0e\xa3\x41\x78\x17\x5e\x8f\xc6\xe1\x24\xea\x87\x93\xd9\xf0\x72\xd8\x0f\x66\x61\x34\xee\x9e\x45\xbd\x60\x1a\xfe\xf8\x0e\x79\xfe\x94\xe7\xce\x11\x43\x49\xb4\xde\x08\x95\xd8\xae\x13\x30\x02\x76\x9d\x82\xc9\xb0\xce\xd5\x3b\x60\xb4\x4f\xfb\x9f\x74\x82\xe9\xf4\x7e\x34\x19\x34\xc9\x54\x03\xe2\xda\x10\xc6\x20\x15\x1c\xd6\x94\xc0\x95\x58\x62\x4f\xe1\x06\x16\x42\x81\x55\x0a\x74\x39\x36\xc2\x13\x20\x52\x02\x17\x86\x28\xfa\x4a\xec\x8c\x2a\x82\x6a\xc5\x7d\xf8\xb7\xc6\x77\x6e\x6b\x18\x22\x61\x49\x4d\x9c\x21\x63\x59\x27\xad\xe1\x4b\x00\x2d\x6f\x6f\x80\x6a\xc0\x3d\xcb\x8a\x48\xc1\xa2\x64\x80\x55\x35\xe4\xeb\xfa\x33\x08\xfa\xd1\xed\x34\x9c\xdc\x04\x7f\x85\x2d\x52\xbd\x05\x8f\xc7\x13\xf4\x2b\xb9\x5a\x33\xdb\xb5\x6c\x69\xff\x5b\x21\x68\x45\xbb\x16\x89\x89\x81\x9f\x3f\xc3\xd1\x25\x5c\x5c\x58\x90\xf7\xb7\x6e\xe8\xb2\xad\xed\xed\x72\xb4\x58\xa9\x18\x1d\xf0\xe1\xc1\xf1\x36\x42\x3d\x2f\x98\xd8\x74\xf0\x05\x9d\xc7\xdf\x0e\xb1\xf3\x15\x4f\x18\x46\x34\xb1\x70\x67\xbb\xf5\x7a\xc5\xc1\x70\x90\xe7\xce\x11\xd8\x12\x73\xc0\x3f\xbc\xb0\x88\x11\x29\x99\x75\x10\x15\x3c\xa2\x09\x72\x43\xcd\x3f\xfb\x9a\xc1\x5b\x6c\x58\x86\x9a\x2a\xda\x95\x9f\xb4\xef\xc3\xd1\x65\xed\x97\x15\xc9\x65\x22\x75\x19\xae\x91\x9d\x27\x38\x5f\xa5\xbb\x03\xab\x0a\x78\x9d\x16\x81\x1a\x2a\x4b\x12\x3f\x03\x61\x0b\x85\xc9\x5e\x9a\xba\xd6\x09\x78\x2d\xc7\x92\xad\x0c\x65\xe0\x2a\x94\x8c\xc4\x08\x6b\x54\x9a\x5a\x26\xbb\xef\x40\x35\x78\xe4\x6b\xcf\x90\xb4\x1c\x36\x50\xbe\x10\x9e\x64\x54\x9b\x5a\xad\x57\x2a\xc1\x55\xe0\x79\x1d\x2b\xcd\x7d\x79\xd9\x0d\x59\x62\x9e\xbb\x6d\x75\xbc\x26\xdb\x32\x89\x28\xb1\xe2\x49\xf8\x62\xec\x45\xde\x41\x0b\xde\x7b\xdd\xdb\xcb\x9b\xe5\xec\x67\xad\x38\x55\x71\x46\xd7\x58\xb8\xf8\xc8\x2e\x15\xeb\xcf\x51\xf6\x5e\xa9\x74\x3e\x99\xdb\xd2\xee\x49\x6b\x6b\xf6\x65\xb4\x10\x6f\xb8\x67\x1f\xff\xd0\x42\x7b\xa0\xe3\xc3\x43\xeb\x73\x97\xc4\x64\xce\xde\xf1\xe3\xfb\x81\x65\xde\xf9\xbc\x38\x87\x56\x83\xa6\x37\x3f\xb4\x66\x81\xd7\x86\x48\x66\x29\x2f\x08\xd3\x78\x68\xaf\xc7\xaf\xf1\xd7\x7b\x12\xd6\xb6\x18\x67\x02\x1c\x62\xff\x53\x49\x6c\xce\x4f\x7f\xd9\x1d\x7c\xd5\xf8\x7f\x75\xec\x28\x4f\xff\x18\xce\xae\x6e\x7b\x51\x78\x73\xf7\x5f\x00\x00\x00\xff\xff\xbc\x65\x4e\x2a\x40\x08\x00\x00" +var _tmplPartialsStep_build_signTmpl = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x55\x51\x6f\xf2\x36\x14\x7d\xff\x7e\xc5\x55\xbe\x3e\x6c\xd2\x12\x44\xf5\xa9\x0f\x51\x5b\x2d\x40\xba\xa2\x75\x05\x01\x6d\x1f\xaa\x2a\x35\xc9\x25\xf1\x6a\x6c\xcb\x36\xb0\x95\xe5\xbf\x4f\x0e\x21\x4d\x20\x55\x35\x34\x3f\x99\x7b\xcf\xbd\x3e\x3e\xd7\x27\x80\x5d\x2e\x70\xb2\x44\x1f\x86\x4b\x29\x94\x81\xbe\x48\xd0\x9d\xd2\x94\x53\x9e\x42\x1f\x95\xa1\x0b\x1a\x13\x83\xfa\x1b\x94\x6b\xa5\x51\xfb\x10\x48\xc9\xd0\x0d\x62\x43\x05\xd7\x1d\x5a\x14\xbb\xb1\x48\x50\xd3\x94\xbb\x31\x2a\xa3\x7f\x5d\x77\xab\xa2\x0d\x35\x99\x5f\xfd\x02\xf8\x0e\xb3\x0c\x21\xae\xf5\x07\xca\x81\xc0\xf8\xf7\xfe\xb4\x7b\x0e\x0b\xca\x10\x90\xdb\x7e\x09\x10\x0d\x04\xe6\x44\xe3\xc5\x0f\xd0\x46\x51\x9e\xd6\x1a\xc9\xee\xb9\x6b\xd1\xee\x0e\xe0\x83\xb3\xdd\xbe\x9e\x6d\xb7\xa0\x31\x56\x68\xb4\x17\x8c\xc7\x77\x61\x34\x08\x1f\xc3\xbb\xd1\x38\x9c\x44\xfd\x70\x32\x1b\xde\x0c\xfb\xc1\x2c\x8c\xc6\xdd\xf3\xa8\x17\x4c\xc3\x8b\x1f\x90\xe7\xaf\x79\xee\x1c\x31\x94\x44\xeb\x8d\x50\x89\xbd\x75\x02\x46\xc0\xee\xa6\x60\x32\xac\x73\xf5\x0e\x18\xed\xcb\xfe\x23\x9d\x60\x3a\x7d\x1a\x4d\x06\x4d\x32\xd5\x80\xb8\x36\x84\x31\x48\x05\x87\x35\x25\x70\x2b\x96\xd8\x53\xb8\x81\x85\x50\x60\x95\x02\x5d\x8e\x8d\xf0\x04\x88\x94\xc0\x85\x21\x8a\xbe\x13\x3b\xa3\x8a\xa0\x5a\x71\x1f\xfe\xa9\xf1\x9d\xdb\x1e\x86\x48\x58\x52\x13\x67\xc8\x58\xd6\x49\x6b\xf8\x12\x40\xcb\xd3\x1b\xa0\x1a\x70\xcf\xb2\x22\x52\xb0\x28\x19\x60\xd5\x0d\xf9\xba\xfe\x0c\x82\x7e\xf4\x30\x0d\x27\xf7\xc1\x1f\x61\x8b\x54\x1f\xc9\xe3\xf1\x04\xfd\x4a\xae\xd6\xca\x76\x2d\x5b\xae\xff\xbd\x10\xb4\xa2\x5d\xcb\xc4\xc4\xc0\xe5\x65\x38\xba\x81\xeb\x6b\x0b\xf2\xfe\xd4\x0d\x5d\xb6\xb5\xbd\x5d\x8e\x16\x2b\x15\xa3\x03\x3e\x3c\x3b\xde\x46\xa8\xb7\x05\x13\x9b\x0e\xfe\x85\xce\xcb\x2f\x87\xd8\xf9\x8a\x27\x0c\x23\x9a\x58\xb8\xb3\xdd\x7a\xbd\x22\x30\x1c\xe4\xb9\x73\x04\xb6\xc4\x1c\xf0\x0f\x0f\x2c\x72\x44\x4a\x66\x1d\x44\x05\x8f\x68\x82\xdc\x50\xf3\xf7\xbe\x67\xf0\x91\x1b\x96\xa9\xa6\x8a\x76\xe5\xdf\xda\xf7\xe1\xe8\xa6\xf6\xcb\x8a\xe4\x32\x91\xba\x0c\xd7\xc8\xae\x12\x9c\xaf\xd2\x5d\xc0\xaa\x02\x5e\xa7\x45\xa0\x86\xca\x92\xc4\x6f\x40\xd8\x42\x61\xb2\x97\xa6\xae\x75\x02\x5e\x4b\x58\xb2\x95\xa1\x0c\x5c\x85\x92\x91\x18\x61\x8d\x4a\x53\xcb\x64\xf7\x1d\xa8\x06\x8f\x7c\xed\x19\x92\x96\xc3\x06\xca\x17\xc2\x93\x8c\x6a\x53\xeb\xf5\x4e\x25\xb8\x0a\x3c\xaf\x63\xa5\x79\x2a\x0f\xbb\x27\x4b\xcc\x73\xb7\xad\x8f\xd7\x64\xeb\x80\x77\x40\xd8\xfb\xec\xae\xf6\xa8\x66\xb1\xfd\x88\x15\x51\x15\x67\x74\x8d\x85\x67\x8f\xcc\x51\x71\x3c\x8d\xa0\xf7\x4e\xa5\x73\x62\xed\xc7\xa3\x38\xb2\x46\x0b\xcd\x86\x33\xf6\xf9\x2f\xed\xb1\x07\x3a\x3e\x3c\xb7\x3e\x65\x49\x4c\xe6\xec\xdd\x3c\x7e\x1a\x58\x9e\x9d\xd3\xa5\x38\xb4\x11\x34\x7d\xf7\xa5\xed\x0a\xbc\x36\x44\x32\x4b\x79\x41\x98\xc6\x43\xeb\xbc\xfc\x3f\xde\xf9\x4c\xc2\xda\x16\xe3\x4c\x80\x43\xec\xff\x25\x89\xcd\xd5\xd9\x4f\xbb\xc0\x69\xc3\xfe\xd9\xb1\x83\x3b\xfb\x6d\x38\xbb\x7d\xe8\x45\xe1\xfd\xe3\xbf\x01\x00\x00\xff\xff\x11\x6f\x15\x13\x0a\x08\x00\x00" func tmplPartialsStep_build_signTmplBytes() ([]byte, error) { return bindataRead( @@ -276,8 +276,8 @@ func tmplPartialsStep_build_signTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/partials/step_build_sign.tmpl", size: 2112, mode: os.FileMode(0644), modTime: time.Unix(1693829860, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0x9a, 0x61, 0xa3, 0xf1, 0xdf, 0xd7, 0x97, 0xed, 0x60, 0x1d, 0x40, 0xdb, 0x56, 0xb1, 0xee, 0xc3, 0x2b, 0x17, 0x98, 0xb7, 0x34, 0x9c, 0xf8, 0xc7, 0xc9, 0x1a, 0x20, 0x8b, 0xed, 0x5, 0x67}} + info := bindataFileInfo{name: "tmpl/partials/step_build_sign.tmpl", size: 2058, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xe9, 0x93, 0x74, 0x5b, 0x26, 0xb9, 0x71, 0x6c, 0xd6, 0xe, 0x97, 0x75, 0x92, 0x55, 0x17, 0xdf, 0x4c, 0xbe, 0xf, 0xbf, 0x19, 0xa5, 0xd4, 0xeb, 0x1c, 0xa5, 0x99, 0xda, 0x25, 0xf5, 0xab}} return a, nil } @@ -296,7 +296,7 @@ func tmplPartialsStep_installTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/partials/step_install.tmpl", size: 455, mode: os.FileMode(0644), modTime: time.Unix(1693827920, 0)} + info := bindataFileInfo{name: "tmpl/partials/step_install.tmpl", size: 455, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5c, 0xb8, 0xe, 0xeb, 0x21, 0x74, 0xd2, 0xc, 0xfe, 0x83, 0xb3, 0x7f, 0x93, 0x97, 0xf2, 0xd5, 0x8e, 0xef, 0xca, 0xca, 0xde, 0x6, 0x23, 0xb8, 0x9d, 0x91, 0x50, 0x5f, 0x57, 0xd6, 0x72, 0x55}} return a, nil } @@ -316,7 +316,7 @@ func tmplReleaseYmlTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "tmpl/release.yml.tmpl", size: 709, mode: os.FileMode(0644), modTime: time.Unix(1693830287, 0)} + info := bindataFileInfo{name: "tmpl/release.yml.tmpl", size: 709, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xba, 0x46, 0xcf, 0x58, 0xfb, 0xc1, 0x65, 0x94, 0x3f, 0xb3, 0x73, 0xcd, 0x48, 0x3a, 0x20, 0x57, 0x1d, 0x20, 0x87, 0x9, 0x1c, 0x8, 0x16, 0xdd, 0xa5, 0x48, 0xfd, 0xfd, 0x35, 0x44, 0x7f, 0xa6}} return a, nil } @@ -336,7 +336,7 @@ func iconsUpdateAvailablePng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "icons/update-available.png", size: 3856, mode: os.FileMode(0644), modTime: time.Unix(1692514548, 0)} + info := bindataFileInfo{name: "icons/update-available.png", size: 3856, mode: os.FileMode(0644), modTime: time.Unix(1694100126, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0xdc, 0xcf, 0x7e, 0x97, 0xb0, 0x94, 0x8d, 0xef, 0xed, 0x6f, 0x33, 0xa8, 0x1d, 0xfd, 0x41, 0x7e, 0xbf, 0xd5, 0x65, 0xcc, 0x17, 0xc8, 0x95, 0x54, 0xa3, 0xcc, 0x51, 0x27, 0x7a, 0xf2, 0x2f}} return a, nil } diff --git a/template/tmpl/partials/step_build_pack.tmpl b/template/tmpl/partials/step_build_pack.tmpl index 156384a..26bf387 100644 --- a/template/tmpl/partials/step_build_pack.tmpl +++ b/template/tmpl/partials/step_build_pack.tmpl @@ -10,8 +10,8 @@ # pack cd .workflow plutil -replace version -string "{{`${{ env.tag }}`}}" info.plist - zip -r ../"{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow{{.WorkaroundExt}}" . + zip -r ../"{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow" . cd .. - echo "artifact=$(echo "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow{{.WorkaroundExt}}")" >> $GITHUB_ENV{{if and .EnabledCodeSign .EnabledGolang}} + echo "artifact=$(echo "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow")" >> $GITHUB_ENV{{if and .EnabledCodeSign .EnabledGolang}} {{template "step_build_sign" .}}{{end}} \ No newline at end of file diff --git a/template/tmpl/partials/step_build_sign.tmpl b/template/tmpl/partials/step_build_sign.tmpl index 8e9dff4..8667ae6 100644 --- a/template/tmpl/partials/step_build_sign.tmpl +++ b/template/tmpl/partials/step_build_sign.tmpl @@ -29,11 +29,11 @@ # pack alfredworkflow cd .workflow plutil -replace version -string "{{`${{ env.tag }}`}}" info.plist - zip -r ../"{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow{{.WorkaroundExt}}" . + zip -r ../"{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow" . cd .. # zip alfredworkflow as zip archive for notarize - zip -r "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow.zip" "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow{{.WorkaroundExt}}" + zip -r "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow.zip" "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow" # gon notarize cat <> notarize.json @@ -47,4 +47,4 @@ EOF gon -log-level=debug -log-json ./notarize.json - echo "artifact=$(echo "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow{{.WorkaroundExt}}")" >> $GITHUB_ENV \ No newline at end of file + echo "artifact=$(echo "{{.WorkflowName}}-{{`${{ env.tag }}`}}.alfredworkflow")" >> $GITHUB_ENV \ No newline at end of file