Skip to content

Commit

Permalink
SCALRCORE-18524 > Fix behaviour when git repo was checkouted to tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vang committed Apr 19, 2021
1 parent 4342401 commit 4f091ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,4 +1,4 @@
# Changelog aa
# Changelog

All notable changes to this project will be documented in this file.

Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Expand Up @@ -15,7 +15,7 @@ var (
)

func init() {
if Branch != defaultBranch {
if Branch != defaultBranch && Branch != "" {
ProviderVersion = strings.Replace(Branch, "/", "-", -1)
}
}

0 comments on commit 4f091ad

Please sign in to comment.