Skip to content

Commit 40bfba1

Browse files
Merge pull request #125 from Stillpoint-Software/develop
Develop
2 parents 529bab3 + 306fdcc commit 40bfba1

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/unlist-nuget.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Unlist NuGet
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version to unlist'
8+
required: true
9+
type: string
510
# release:
611
# types: [deleted]
712

@@ -19,11 +24,14 @@ jobs:
1924
steps:
2025
- name: Checkout code
2126
uses: actions/checkout@v4
22-
27+
28+
- name: Debug version input
29+
run: echo "Version to unlist: ${{ github.event.release.tag_name || github.event.inputs.version }}"
30+
2331
# Unlist
2432
- name: Unlist Deleted Tag
2533
uses: darenm/unlist-nuget@v1
2634
with:
2735
NUGET_PACKAGE: ${{ env.PROJECT_NAME }} # Full Package ID
28-
VERSION_REGEX: ${{ github.event.release.tag_name }} # Regex pattern to match version
29-
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key
36+
VERSION_REGEX: ${{ github.event.release.tag_name || github.event.inputs.version }}
37+
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<MajorVersion>3</MajorVersion>
55
<MinorVersion>0</MinorVersion>
6-
<PatchVersion>4</PatchVersion>
6+
<PatchVersion>5</PatchVersion>
77
</PropertyGroup>
88
<!-- Disable automatic package publishing -->
99
<PropertyGroup>

0 commit comments

Comments
 (0)