Skip to content

Commit

Permalink
adapt to changed internal archive structure with 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
irkode committed Aug 21, 2024
1 parent bc8d5db commit 9cbc7f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ jobs:
[void](New-Item -Type Directory ./assets -ErrorAction Stop)
[void](Test-Path .\assets -PathType Container -ErrorAction Stop)
Expand-Archive -LiteralPath $BulmaRelease.archive -DestinationPath .\assets
if (Test-Path .\assets\__MACOSX) { Remove-Item .\assets\__MACOSX -ErrorAction SilentlyContinue -Recurse }
Rename-Item .\assets\$bulmaFolder "bulma"
gci assets | Out-Host
if (Test-Path .\assets\$bulmaFolder -PathType Container) {
Rename-Item .\assets\$bulmaFolder "bulma"
}
[void](Test-Path ./assets/bulma -PathType Container -ErrorAction Stop)
if ((Get-ChildItem .\assets).Count -ne 1) {
Write-Error "Unknown Bulma archive content found (expected 'bulma' only):"
Expand Down Expand Up @@ -99,7 +101,7 @@ jobs:
$BulmaArchive = "$ENV:BULMA_ARCHIVE"
$bulmaBranch = "bulma-$BulmaRelease"
git checkout -b $bulmaBranch
git add assets .github
git add assets/bulma .github
git commit -m "pack Bulma $BulmaRelease for Hugo"
git push --set-upstream origin $bulmaBranch
# git tag -a "v$BulmaRelease" -m "packed Bulma release $BulmaRelease"
Expand Down

0 comments on commit 9cbc7f7

Please sign in to comment.