Skip to content

Commit a8ea13f

Browse files
committed
build-release: use +dirty instead of -dirty version suffix when there are uncommitted files
Because: - 0.54-dirty > 0.54-20230315-205943-91a9359 - 0.54+dirty < 0.54-20230315-205943-91a9359 We want uncommitted files to produce a lower package version than the version the same files would produce once committed. See: - DaemonEngine/Urcheon@8c7d2fb
1 parent 97916db commit a8ea13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-release

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ printVersion () {
281281

282282
if ! git diff --quiet 2>/dev/null
283283
then
284-
dirt_string='-dirty'
284+
dirt_string='+dirty'
285285
fi
286286

287287
echo "${tag_string}${date_string}${ref_string}${dirt_string}"

0 commit comments

Comments
 (0)