-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ function init_repo { | |
@test "finds the current normal version with tag_prefix enabled" { | ||
init_repo | ||
|
||
export tag_prefix="@org/product" | ||
export tag_prefix="@org/product@" | ||
|
||
git tag @org/[email protected] | ||
git tag @org/[email protected] | ||
|
@@ -91,9 +91,9 @@ function init_repo { | |
@test "tag_prefix enabled prefixes with a v" { | ||
init_repo | ||
|
||
export tag_prefix="@org/product" | ||
export tag_prefix="@org/product/" | ||
|
||
git tag @org/product@0.1.2 | ||
git tag @org/product/0.1.2 | ||
|
||
run version-lookup.sh | ||
|
||
|
@@ -119,10 +119,10 @@ function init_repo { | |
@test "finds only prefixed tags when tag_prefix set" { | ||
init_repo | ||
|
||
export tag_prefix="@org/product" | ||
export tag_prefix="my_product-" | ||
|
||
git tag @org/product@0.1.2 | ||
git tag @org/product@0.1.3-dev.123 | ||
git tag my_product-0.1.2 | ||
git tag my_product-0.1.3-dev.123 | ||
git tag 2.4.5 | ||
git tag 2.4.6-dev.456 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters