Closed Philenst closed 3 years ago
Moved it around a bit. Added the Post Script "deployment" to a new file so if any new instances are ever added and/or file names are changed. It can be modified & ran again to update all jobs accordingly. AutoInstaller just calls the file.
Current dev still uses DiscordNotificationBootstrap.ps1, I'm already moved to agent-support so I was coding it around Bootstrap.ps1, this is a fix for the right path for this branch.
Phil, cheers for this. Before I review, could you please rebase your branch on dev?
I've improved the CI so this will help highlight anything which could be improved without the need for review.
EDIT: Closed upon request. Replaced by #22.
After the installation script, it'll grab all the jobs. If there isn't any. It'll print this and exit soon after. If there is, it'll iterate through all the jobs and ask the user if they want to overwrite the current script (If there's already one configured) or if they want to add a new one (If currently disabled).
I know the comments aren't the greatest therefore I'll gladly take an L to improve them if needed.