I work with Teamcity as a build manager in a git repository;
Currently, the trigger for creating a new assembly is if there are new changes.
The problem is that when I create the launch script, I create a new commit to a specific file called version.txt (I increase the number there).
Upon successful completion, the commit is considered a new change and in the next run, even if no other commits were made, the night assembly will be launched.
I want to be able to create a rule that will not run the assembly, unless the expected change relates to the Version.txt file.
Is there any way to do this?
edit: I added a command rule to the command city: do not start the assembly if the .txt version file has changed (see screenshot) however this rule seems to cause the assembly to not start if, for example, there are 2 pending changes , one of which relates to the version.txt file

early.
source share