Skip to content

Commit 4d22231

Browse files
committed
AppVeyor: Refine build process and GitVersion handling
- Added cleanup step to reset assemblyinfo modifications. - Updated GitVersion command to prevent unintended increments. - Introduced parameters to stay on the current commit. - Added a note to address tag handling in GitVersion. - Removed the `after_build` section as it is no longer needed.
1 parent 7f0b574 commit 4d22231

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎appveyor.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,17 @@ before_build:
4141
4242
gitversion /l console /output buildserver /updateassemblyinfo
4343
44-
gitversion ".\dependencies\NEventStore" /updateassemblyinfo /l console
44+
45+
# Cleanup of assemblyinfo modifications
46+
47+
git -C dependencies/NEventStore reset --hard
48+
49+
50+
# todo: fix the tag!
51+
52+
# Attempt to stay on the current commit (it seem to increment on the current tag or select the higest tag with the same major version, have to find a way to avoid it and stick on the tag in the current commit)
53+
54+
gitversion ".\dependencies\NEventStore" /nofetch /nonormalize /nocache /updateassemblyinfo /l console /overrideconfig increment=None /overrideconfig commit-message-incrementing=Disabled
4555
build:
4656
project: src\NEventStore.Persistence.Sql.Core.sln
4757
verbosity: minimal

0 commit comments

Comments
 (0)