Exemplo n.º 1
0
        private void buttonDeploy_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.LastVersion = tbVersion.Text;
            Properties.Settings.Default.Save();

            Version version = GetVersion();

            if (version == null)
            {
                return;
            }

            AppBuild.BuildRelease(version);

            BuildNugetAndSquirrelPackage(version);

            Application.Exit();
        }
Exemplo n.º 2
0
        private void buttonInstaller_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.LastVersion = tbVersion.Text;
            Properties.Settings.Default.Save();

            Version version = GetVersion();

            if (version == null)
            {
                return;
            }

            AppBuild.BuildRelease(version);

            Installer.Build(INSTALLER_FOLDER, version);

            BuildAppX(version);

            Application.Exit();
        }