From 32fd5aa572bf840b60379ef8fd421eb2cb1c712f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 29 Jun 2023 19:13:17 +0200 Subject: [PATCH] Add method for removing the current stage --- scripts/Windows/Scripts/Context.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 1ed65369..0e7d1355 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -58,6 +58,10 @@ class Context { return $this.Get($this.StagePropertyName); } + [void] RemoveStage() { + $this.Remove($this.StagePropertyName); + } + [string] ArchivePath($name) { return Join-Path $this.BackupRoot() "$name.7z"; }