Skip to content

Commit

Permalink
CI: Simplify packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Nov 20, 2023
1 parent fe13516 commit 2056654
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,8 @@ jobs:
- name: Crate archive
id: archive
run: |
PKGDIR=font-logos-${{ steps.rel_ver.outputs.ver }}
ZIPFILE="${PKGDIR}.zip"
rsync --info=name LICENSE "${PKGDIR}/"
rsync --info=name package.json "${PKGDIR}/"
rsync --info=name README.md "${PKGDIR}/"
rsync --info=name -R assets/*.css "${PKGDIR}/"
rsync --info=name -R assets/*.ttf "${PKGDIR}/"
rsync --info=name -R assets/*.woff "${PKGDIR}/"
rsync --info=name -R assets/*.woff2 "${PKGDIR}/"
rsync --info=name -R vectors/*.svg "${PKGDIR}/"
zip -r "${ZIPFILE}" "${PKGDIR}"
echo "ZIPFILE=${ZIPFILE}" >> $GITHUB_ENV
make pack
ZIPFILE=$(ls font-logos-*zip )
echo "ZIPFILE=${ZIPFILE}"
echo "filename=${ZIPFILE}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 2056654

Please sign in to comment.