diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 564ef63..94f6e0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,6 +55,16 @@ jobs: run: bash zip -r ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish working-directory: ./publish + - name: zip files + shell: pwsh + run: | + if ($env:RUNNER_OS -eq "Windows") { + 7z a ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish + } + else { + zip -r ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish + } + - name: Create GitHub Release env: GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/Resumer/cli/commands/delete/DeleteCommandSettings.cs b/Resumer/cli/commands/delete/DeleteCommandSettings.cs index 3c34d66..574eab5 100644 --- a/Resumer/cli/commands/delete/DeleteCommandSettings.cs +++ b/Resumer/cli/commands/delete/DeleteCommandSettings.cs @@ -5,7 +5,7 @@ namespace Resumer.cli.commands.delete; public class DeleteCommandSettings:CommandSettings { - [CommandOption("-c|--no-confirm")] + [CommandOption("-n|--no-confirm")] [Description("Do not ask for confirmation before deleting")] public bool NoConfirm { get; set; }