Skip to content

Commit e3c592b

Browse files
authored
Add revision when on branch (graphql-dotnet#802)
1 parent 83e1ee3 commit e3c592b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tasks/dotnetPack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function compile(settings) {
1515
versions.push(settings.versionSuffix)
1616
}
1717

18-
if (settings.includeRevision) {
18+
if (settings.includeRevision || versions.length > 0) {
1919
versions.push(settings.revision)
2020
}
2121

0 commit comments

Comments
 (0)