From e3ad70155db29b8a1a9a75db46e5ac5883c378d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=C3=BAc=20Ph=E1=BA=A1m=20H=E1=BB=93ng?= Date: Sat, 1 Jun 2024 21:19:56 +0700 Subject: [PATCH] update yaml --- .github/workflows/build-and-push-nuget-packages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push-nuget-packages.yml b/.github/workflows/build-and-push-nuget-packages.yml index 8cf7cbe..c8a7b85 100644 --- a/.github/workflows/build-and-push-nuget-packages.yml +++ b/.github/workflows/build-and-push-nuget-packages.yml @@ -56,7 +56,8 @@ jobs: if [ "${{ github.ref_name }}" == "main" ]; then dotnet pack affected.proj else - dotnet pack affected.proj -p:PackageVersionSuffix=dev + VERSION=$(date +"%Y.%m.%d.%H%M") + dotnet pack affected.proj /p:Version=${VERSION}--dev fi - name: Push NuGet packages