mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-13 01:51:09 +00:00
fix: manage branch with slash properly
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
@test "Slug a feature branch" {
|
||||
test_sluf_ref \
|
||||
"refs/heads/feat/new_feature" \
|
||||
"new-feature"
|
||||
"feat-new-feature"
|
||||
}
|
||||
|
||||
@test "Slug a fix branch" {
|
||||
test_sluf_ref \
|
||||
"refs/heads/fix/issue_number" \
|
||||
"issue-number"
|
||||
"fix-issue-number"
|
||||
}
|
||||
|
||||
@test "Slug a simple tag" {
|
||||
|
||||
Reference in New Issue
Block a user