Skip to content

Commit fd058ff

Browse files
dmcilvaneyCopilot
andauthored
Update internal/app/azldev/core/sources/release.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 637f1ad commit fd058ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/app/azldev/core/sources/release.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ func BumpStaticRelease(releaseValue string, commitCount int) (string, error) {
9898
// When the Release tag uses a non-standard value (not %autorelease and not a leading
9999
// integer, e.g. %{pkg_release}), the component must set release-calculation to
100100
// "manual", and likely define an explicit overlay that sets the Release tag.
101-
// If release-calculation is not set, an error is returned.
101+
// If a non-standard Release is found and release-calculation is not "manual",
102+
// an error is returned.
102103
func (p *sourcePreparerImpl) tryBumpStaticRelease(
103104
component components.Component,
104105
sourcesDirPath string,

0 commit comments

Comments
 (0)