Skip to content

Commit

Permalink
Fixing the build CI
Browse files Browse the repository at this point in the history
Now copying the correct license (the font license)
Wrong directory path was used in build script
Setting dev build tag to be DEV
  • Loading branch information
sandorex committed Dec 22, 2022
1 parent 7fbb3e9 commit bfa2f81
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ jobs:
# Package the required files into a zip
- name: Package
run: |
mkdir dist
for font in $FONTS; do
mkdir "$font"
cp LICENSE fonts/${font}/README.md fonts/${font}/build/*.ttf dist/${font}/
mkdir -p "dist/$font"
cp FONT.LICENSE dist/${font}/LICENSE
cp fonts/${font}/README.md fonts/${font}/build/*.ttf dist/${font}/
zip -r compacity-${font}.zip dist/${font}
done
Expand All @@ -49,7 +48,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
name: Dev Build (${{ steps.version.outputs.commit }})
tag_name: LATEST
tag_name: DEV
fail_on_unmatched_files: true
prerelease: true
files: | # NOTE: files have to be overriden otherwise they will stay outdated so no ttf files
Expand Down

0 comments on commit bfa2f81

Please sign in to comment.