Skip to content

Commit

Permalink
Trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Farshad DASHTI authored and Farshad DASHTI committed Oct 2, 2024
1 parent 3247a38 commit f7c087a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-package-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
echo "This commit has already been processed for version update in $PROJECT_NAME. Skipping."
else
# Extract the version from the commit message
CUSTOM_VERSION=$(git show -s --format=%s $COMMIT_HASH | grep -oP '\(#update package version to \K([0-9]+\.[0-9]+\.[0-9]+)')
CUSTOM_VERSION=$(git show -s --format=%s $COMMIT_HASH | grep -oP '\(#update '"$PROJECT_NAME"' package version to \K([0-9]+\.[0-9]+\.[0-9]+)')
if [[ -n "$CUSTOM_VERSION" ]]; then
echo "Using custom version: $CUSTOM_VERSION"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using DfE.CoreLibs.BackgroundService.Interfaces;
using DfE.CoreLibs.BackgroundService.Services;


namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
Expand All @@ -14,4 +13,4 @@ public static IServiceCollection AddBackgroundService(this IServiceCollection se
return services;
}
}
}
}

0 comments on commit f7c087a

Please sign in to comment.