Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
调整标签文件
Browse files Browse the repository at this point in the history
  • Loading branch information
uuiid committed Dec 15, 2023
1 parent ccd81ef commit 0ff8ad2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ func release(source string, output string, cnOutput string, ruleSetOutput string
if err != nil {
return err
}
setActionOutput("tag", *sourceRelease.Name)
names := strings.Split(*sourceRelease.Name, " ")
setActionOutput("tag", names[len(names)-1])
return nil
}

Expand Down

0 comments on commit 0ff8ad2

Please sign in to comment.