Skip to content

Commit 1a2ee74

Browse files
committed
PR 67: Merge Preview to master +semver:minor
- Updatred to trete all other branches as Preview - Updated choco packages +semver:minor
2 parents 7f0ec10 + 6a78967 commit 1a2ee74

File tree

6 files changed

+29
-6
lines changed

6 files changed

+29
-6
lines changed

GitVersion.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
assembly-versioning-scheme: MajorMinorPatch
22
mode: ContinuousDeployment
33
continuous-delivery-fallback-tag: ''
4-
next-version: 2.1.0
4+
next-version: 4.2.0
55
branches:
66
master:
77
mode: ContinuousDeployment
88
tag: ''
9+
((?!master).):
10+
tag: 'Preview'
911
ignore:
10-
sha: []
12+
sha: []

TfsWitMigrator.Console/Chocolatey/chocolateyInstall.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
try {
22
$sysDrive = $env:SystemDrive
3-
$vstssyncmigrationpath = "$sysDrive\tools\VSTSSyncMigration"
3+
$vstssyncmigrationpath =Join-Path -Path "\VSTSSyncMigration" -ChildPath Get-ToolsLocation
44

55
if(test-path $vstssyncmigrationpath) {
66
write-host "Cleaning out the contents of $vstssyncmigrationpath"
77
Remove-Item "$($vstssyncmigrationpath)\*" -recurse -force
88
}
99

1010
Install-ChocolateyZipPackage 'vstssyncmigration' 'https://github.com/nkdAgility/vsts-sync-migration/releases/download/#{GITVERSION.FULLSEMVER}#/vstsbulkeditor-#{GITVERSION.FULLSEMVER}#.zip' $vstssyncmigrationpath
11-
Install-ChocolateyPath $vstssyncmigrationpath
1211

1312
write-host 'VSTS Sync Migration has been installed. Call `vstssyncmigration` from the command line to see options. You may need to close and reopen the command shell.'
1413
Write-ChocolateySuccess 'vstssyncmigration'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
try {
2+
$sysDrive = $env:SystemDrive
3+
$vstssyncmigrationpath =Join-Path -Path "\VSTSSyncMigration" -ChildPath Get-ToolsLocation
4+
5+
Uninstall-ChocolateyZipPackage 'vstssyncmigration' 'vstsbulkeditor-#{GITVERSION.FULLSEMVER}#.zip'
6+
7+
write-host 'VSTS Sync Migration has been uninstalled.'
8+
Write-ChocolateySuccess 'vstssyncmigration'
9+
} catch {
10+
Write-ChocolateyFailure 'vstssyncmigration' $($_.Exception.Message)
11+
throw
12+
}

TfsWitMigrator.Console/Chocolatey/vstssyncmigration.nuspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<metadata>
4-
<id>vstssyncmigrator</id>
4+
<id>vsts-sync-migrator</id>
55
<title>VSTS Sync Migrator</title>
66
<version>0.0.0</version>
77
<authors>MrHinsh</authors>
@@ -13,11 +13,13 @@
1313
<docsUrl>http://vsts-bulk-editor.readthedocs.io</docsUrl>
1414
<bugTrackerUrl>https://github.com/nkdAgility/vsts-sync-migration/issues</bugTrackerUrl>
1515
<tags>git tfs git-tfs sourceControl</tags>
16-
<releaseNotes></releaseNotes>
16+
<releaseNotes>https://github.com/nkdAgility/vsts-sync-migration/</releaseNotes>
1717
<licenseUrl>https://github.com/nkdAgility/vsts-sync-migration/blob/master/LICENSE</licenseUrl>
1818
<requireLicenseAcceptance>false</requireLicenseAcceptance>
19+
<iconUrl>http://nkdagility.com/wp-content/uploads/2014/03/cropped-nakedalm-logo-260.png</iconUrl>
1920
</metadata>
2021
<files>
2122
<file src="chocolateyInstall.ps1" target="tools\chocolateyInstall.ps1" />
23+
<file src="chocolateyUninstall.ps1" target="tools\chocolateyUninstall.ps1" />
2224
</files>
2325
</package>
-3.52 KB
Binary file not shown.

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Visual Studio Team Services Bulk Data Editor Engine allows you to bulk edit data in Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). It has many names depending on what you are trying to achieve. You might call it a migration tool, or a bulk update tool, and both are correct.
44

5+
##Getting the Tools
6+
7+
There are three ways to use these tools:
8+
9+
- Create your own tools by using the [VSTS Bulk Data Editor Engine](https://www.nuget.org/packages/VSTS.DataBulkEditor.Engine/) on nuget
10+
- Download the [latest release from GitHub](https://github.com/nkdAgility/vsts-sync-migration/releases) and unzip
11+
- (recomended)[Install with Chocolatey](https://chocolatey.org/packages/vstssyncmigrator/)
12+
513
## Overview
614

715
### Main Purpose

0 commit comments

Comments
 (0)