Merge pull request #26 from awilliams/fix-tag-extraction
Fix extraction of tag from commit ref to handle `/` char
This commit is contained in:
commit
1d7c72a644
@ -116,7 +116,7 @@ func (p Plugin) Exec() error {
|
|||||||
Client: client,
|
Client: client,
|
||||||
Owner: p.Repo.Owner,
|
Owner: p.Repo.Owner,
|
||||||
Repo: p.Repo.Name,
|
Repo: p.Repo.Name,
|
||||||
Tag: filepath.Base(p.Commit.Ref),
|
Tag: strings.TrimPrefix(p.Commit.Ref, "refs/tags/"),
|
||||||
Draft: p.Config.Draft,
|
Draft: p.Config.Draft,
|
||||||
Prerelease: p.Config.Prerelease,
|
Prerelease: p.Config.Prerelease,
|
||||||
FileExists: p.Config.FileExists,
|
FileExists: p.Config.FileExists,
|
||||||
|
Loading…
Reference in New Issue
Block a user