Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Publishing scripts to allow different container names -- replaces the cdn switch #1415

Merged
merged 3 commits into from
Nov 3, 2020

Conversation

MSNev
Copy link
Collaborator

@MSNev MSNev commented Oct 27, 2020

No description provided.

@@ -1,5 +1,6 @@
param (
[string] $container = $null, # Identify the container that you want to check blank == all
[string] $storeContainer = "cdn", # Identifies the destination storage account container
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set default container to "cdn" without the -cdn switch.

For users that don't want to use a container they can pass ""

@@ -9,7 +10,7 @@ param (
[switch] $inclExt = $false, # Include the extensions
[switch] $activeOnly = $false, # Only show the active (deployed) versions
[switch] $testOnly = $false, # Uploads to a "tst" test container on the storage account
[switch] $cdn = $false # Uploads to a "cdn" container on the storage account
[switch] $cdn = $false # (No longer used -- kept for now for backward compatibility)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remove this at some point in the future.

@MSNev MSNev merged commit d6a1f68 into master Nov 3, 2020
@MSNev MSNev added this to the 2.5.10 milestone Nov 13, 2020
@MSNev MSNev deleted the MSNev/PublishScripts branch February 19, 2021 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants