Skip to content

Commit

Permalink
Sync .github\workflows\dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SyncFileContents authored and SyncFileContents committed Dec 27, 2024
1 parent dfcb99a commit 3a4321f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
# find the last version that was released
$LAST_TAG = (git tag --list --sort=-v:refname)[0]
$LAST_VERSION = $LAST_TAG -replace 'v', ''
$IS_PRERELEASE = $LAST_VERSION.Contains('-')
$LAST_VERSION = $LAST_VERSION -replace '-alpha', ''
$LAST_VERSION = $LAST_VERSION -replace '-beta', ''
$LAST_VERSION = $LAST_VERSION -replace '-rc', ''
Expand All @@ -91,7 +93,7 @@ jobs:
# calculate which increment is needed
$IS_PRERELEASE = $LAST_VERSION.Contains('-')
$EXCLUDE_BOTS = '^(?!.*(\[bot\]|github|ProjectDirector|SyncFileContents)).*$'
$EXCLUDE_HIDDEN_FILES = ":(icase,exclude)*/.*"
Expand Down

0 comments on commit 3a4321f

Please sign in to comment.