OctopusDeploy / OctoTFS

| Public | Octopus extensions for Azure DevOps, TFS, VSTS, and VSO
https://marketplace.visualstudio.com/items?itemName=octopusdeploy.octopus-deploy-build-release-tasks
Other
0 stars 41 forks source link

Change deploy process scripts to make it Linux friendly #190

Closed andyinaus closed 3 years ago

andyinaus commented 3 years ago

Background

We are using Linux container to deploy a new release now.

Issue(s) found while switching to a Linux OS are:

  1. $env:TEMP is only available in Windows OS Solution: Use cross-platform temp path ([System.IO.Path]::GetTempPath()) instead
  2. Linux OS uses case sensitive file system whereas Windows does not. Solution: Renaming files instead.

Note: If you ever encountered any issue(s) with FileNotFound due to this renaming, please ensure all the files renamed in this PR are named correctly in your local/remote branch.

How to review this PR

Quality ✔️

Pre-requisites