Skip to content

Commit 9f1690d

Browse files
authored
fix: auto-create contract (#669)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 42eb8ab commit 9f1690d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/cli/cmd/workflow_create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright 2023 The Chainloop Authors.
2+
// Copyright 2024 The Chainloop Authors.
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ func newWorkflowCreateCmd() *cobra.Command {
4848
// If it's provided by the UUID we skip this
4949
if contract != "" {
5050
if !isValidUUID(contract) {
51-
createResp, err := action.NewWorkflowContractCreate(actionOpts).Run(fmt.Sprintf("%s/%s", project, workflowName), nil, contract)
51+
createResp, err := action.NewWorkflowContractCreate(actionOpts).Run(fmt.Sprintf("%s-%s", project, workflowName), nil, contract)
5252
if err != nil {
5353
return err
5454
}

0 commit comments

Comments
 (0)