Skip to content

Commit

Permalink
use release instead of annotateg tag
Browse files Browse the repository at this point in the history
  • Loading branch information
irkode committed Aug 20, 2024
1 parent cb3ddf1 commit 8981028
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8981028

Please sign in to comment.