Created
March 2, 2015 08:19
-
-
Save dealproc/0077c04de71627d8929f to your computer and use it in GitHub Desktop.
Using Fluent Migrator with Octopus Deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!$MainDB) { | |
$MainDB = '...'; | |
} | |
tools\migrate.exe --task migrate --connection "$MainDB" --provider "SqlServer2012" --assembly "lib\net45\Adapt.Gift.DatabaseScripts.dll" --tps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | |
<metadata> | |
<id>{projectid}</id> | |
<version>$version$</version> | |
<authors>...</authors> | |
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |
<description>...</description> | |
</metadata> | |
<files> | |
<file src="..\..\packages\FluentMigrator.{Version}\tools\**\*.dll" target="tools\" /> | |
<file src="..\..\packages\FluentMigrator.{Version}\tools\**\*.exe" target="tools\" /> | |
<file src="bin\$Configuration$\*.dll" target="lib\net45\" /> | |
<file src="*.ps1" target="\" /> | |
</files> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment