From 39e2c3a2afc16428efcf9a9aa1bedea4858bd605 Mon Sep 17 00:00:00 2001 From: cdozdil <35529761+cdozdil@users.noreply.github.com> Date: Tue, 21 Jan 2025 16:08:09 +0300 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4b9cdad..0b7ca321 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -140,19 +140,8 @@ jobs: run: | Write-Output "Fetching commits from the last 24 hours..." - $location = Get-Location - Write-Output "Folder: $location`n" - - $datetime = Get-Date - Write-Output "Datetime: $datetime`n" - - $gitVersion = git --version - Write-Output "Git Version: $gitVersion`n" - # Get commit messages excluding .yml file commits - $commits = git log --since="1 day ago" --pretty=format:"%h %s (%an)" --abbrev-commit --grep=".yml" --invert-grep - - Write-Output $commits + $commits = git log --since="1 day ago" --pretty=format:"%h %s (%an)" --abbrev-commit --grep=".yml" --invert-grep --no-merges --first-parent $commits = $commits -split "`n" @@ -169,9 +158,9 @@ jobs: # Generate release notes $releaseNotes = "### Changes in the Last 24 Hours`n`n$formattedCommits" - Write-Output "$releaseNotes" - $ReleaseTag = "nightly" Write-Output "Updating existing release: $ReleaseTag" - gh release edit $ReleaseTag --notes "$ReleaseNotes" + gh release edit $ReleaseTag --notes "$ReleaseNotes" + +