Skip to content

Commit

Permalink
Merge pull request #25 from covermymeds/cje-changelog
Browse files Browse the repository at this point in the history
Cje changelog
  • Loading branch information
bnation committed Dec 10, 2015
2 parents b637a1d + f4d3ef3 commit 174a8e7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 2015-12-09 Release 1.0.2
### Summary
New features added, bugfix

### Changes
- Added deployment target database name allowing a database folder to be deployed to a name other than the database folder name. i.e, a database name of mydatabase can be deployed to a database name of mydatabase_test
- Fix issue where newline was needed before a go statement in sql server
- Changed the way mssql wraps transactions to stitch together a single file instead of deploy with multiple files through sqlcmd. This fixes most cases where sqlcmd fails to deploy items inside a transaction. If the transaction fails to deploy dbdeployer will ask if you would like to deploy the file outside of a transaction.
- Build in mechanism to allow dbname to be substitued in mssql files in the event that the script needs to reference the database name.
- Fixed bug that caused reference urls to not be logged correctly
- Fixed bug in creation of deployments database for dbdeployer for mssql
- Added ability to specify dbtype on the command line instead of only in the config file(s)

2 changes: 1 addition & 1 deletion dbdeployer
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ then
exit 1
fi
#check that dbname/db_destination_name is not deployments database
if [ "${deployment_db}" = "${dbname}" || "${deployment_db}" = "${db_destination_name}" ]
if [ "${deployment_db}" = "${db_destination_name}" ]
then
echo "You can not drop and reload the deployment tracking database"
exit 1
Expand Down
10 changes: 9 additions & 1 deletion dbdeployer_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ do
done

#verify files exist
for x in dbdeployer config.sh
for x in dbdeployer config.sh dbdeployer_release
do
if ! [ -f "${x}" ]
then
Expand Down Expand Up @@ -75,6 +75,14 @@ done
fi #end error check
#fi #end config file exists

#copy version file
cp dbdeployer_release ${config_dir}
if [ $? -ne 0 ]
then
echo "Failed to copy version file, exiting"
exit 1
fi #end error check

#copy executable file
cp dbdeployer ${bin_dir}
if [ $? -ne 0 ]
Expand Down
2 changes: 1 addition & 1 deletion dbdeployer_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=v1.0.1
version=v1.0.2

0 comments on commit 174a8e7

Please sign in to comment.