Initializes all possible variables in Continua CI
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts - Build - Debug.bat
scripts - Build - Release.bat
scripts - Clean all.bat
scripts - Restore packages.bat


Join the chat at

License NuGet downloads Version Pre-release version Chocolatey count Chocolatey version


ContinuaInit initializes several variables in a configuration for you. This console application will automatically integrate with Continua CI and set several variables based on the current context.

This application assumes you are using GitFlow.

One of the things one should always do is to try and mainsteam all the configurations so one knows what is happening for each product. However, then you will end up doing a lot of if/else to determine the state of a build:


The advantage of these variables is that one can implement logic inside a configuration based on whether the build is a CI build and whether it is an official build. The goal of ContinuaInit was to replace this whole tree by a single call to an executable that contains rules to determine variables and init them all. This results in a much cleaner initialization.



The usage is simple:

ContinuaInitializer.exe -b [branchname] -v [version] -ci [true|false]

Variables being set

Note that if a variable is not found, Continua CI will ignore them


If the branch is master, the PublishType will be set to Official. Otherwise the PublishType will be set to Nightly.


true if the branch master, otherwise false


true if the branch does not equal master, otherwise false


Will be set to the version provided by the command line. Then it will apply one of the following values:

nightly => when nightly build

ci => when CI build

#Extending rules

We do accept pull requests. The rules can be implemented by derriving from RuleBase. Make sure to write unit tests for new rules, then the software will always behave as expected.


Flask by Mark Caron from The Noun Project