From 8981028e88b84d0b2eba2fe0d85fcd3e791271aa Mon Sep 17 00:00:00 2001 From: irkode Date: Tue, 20 Aug 2024 12:39:44 +0200 Subject: [PATCH] use release instead of annotateg tag --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06867d2..bd3488d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,13 +90,16 @@ jobs: $BulmaRelease = "$ENV:BULMA_RELEASE" $BulmaArchive = "$ENV:BULMA_ARCHIVE" $cwd = ($pwd.Path -replace "\\","\\") + "\\" - (Get-ChildItem . -recurse).FullName -replace $cwd, ""|sort + (Get-ChildItem .).FullName -replace $cwd, ""|sort $bulmaBranch = "bulma-$BulmaRelease" git checkout -b $bulmaBranch git add assets .github git commit -m "add Bulma $BulmaRelease" git push --set-upstream origin $bulmaBranch - git tag -a "$BulmaRelease" -m "packed Bulma release $BulmaRelease" - git push --tags + # git tag -a "$BulmaRelease" -m "packed Bulma release $BulmaRelease" + # git push --tags git checkout main + gh auth login + gh release create $BulmaRelease --title "Bulma4Hugo v$BulmaRelease" --target $bulmaBranch git branch -D $bulmaBranch + git push