Red Gate forums :: View topic - Accessing release description from .ps1
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Accessing release description from .ps1

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
fredendrix



Joined: 18 Dec 2012
Posts: 24
Location: Quebec (Canada)

PostPosted: Mon Sep 09, 2013 8:35 pm    Post subject: Accessing release description from .ps1 Reply with quote

Hi!

I try to figure out how to access release informations from within the postdeploy.ps1 file.

For example, a deployment was made from DM command line, including releasenotefile switch. While deploying, i would like to access those release notes ("release description" in DM UI) from ps script in order to email those notes...

Any idea?

Thanks!
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Tue Sep 10, 2013 10:07 am    Post subject: Reply with quote

We currently don't support this, but I'm about to add this feature for you :)

The project description, release notes, and deployment comments will all be available as separate variables for the PowerShell.

I'm hoping that this will make tomorrow's (Wed 11th September) release, but if we don't get it tested in time, then it might get pushed to next Wednesday's release.

David
Back to top
View user's profile Send private message
DavidSimner



Joined: 04 Feb 2010
Posts: 49

PostPosted: Tue Sep 10, 2013 11:23 am    Post subject: Reply with quote

This is now done, and will hopefully by shipped tomorrow (Wed 11th September)

There are now 3 new variables for the PowerShell:

    * RedGateProjectDescription
    * RedGateReleaseNotes
    * RedGateDeploymentComments
Back to top
View user's profile Send private message
fredendrix



Joined: 18 Dec 2012
Posts: 24
Location: Quebec (Canada)

PostPosted: Tue Sep 10, 2013 2:19 pm    Post subject: Reply with quote

Wow! What efficient! Many thanks again!
Back to top
View user's profile Send private message
Emma A



Joined: 30 Mar 2009
Posts: 40

PostPosted: Thu Sep 12, 2013 1:36 pm    Post subject: Reply with quote

The release of Deployment Manager yesterday contained these predefined variables for use within your scripts.
Back to top
View user's profile Send private message
fredendrix



Joined: 18 Dec 2012
Posts: 24
Location: Quebec (Canada)

PostPosted: Thu Sep 12, 2013 2:34 pm    Post subject: Reply with quote

Got it! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group