Skip to content
Benedikt Groß edited this page Dec 17, 2024 · 39 revisions

Check List New Release

https://github.com/hfg-gmuend/openmoji

  • Double check all tests green? npm test
  • Exported production color/black files: npm run generate
  • Generate the OpenMoji fonts: npm run generate-font [version]
  • Update changelog (version tag, date and text)
  • Update version tag in package.json
  • Export release zips (72x72, 618x618, svg): npm run export-zip
  • Publish release on Github (add release notes, add zips)
  • Publish node package: npm publish

https://github.com/hfg-gmuend/openmoji-website

  • Update version tag in package.json
  • Update OpenMoji dependency in package.json
  • Update svg/png files in openmoji-website/data, run npm install
  • Update Emoji version in src/components/index/SmallOverview/SmallOverview.astro
  • Publish website

https://openmoji-tester.glitch.me/

  • Update openmoji.json in openmoji-tester/openmoji/data/openmoji-tester.json
  • Pull latest version in Glitch for openmoji-tester.glitch.me

https://emojipedia.org/

  • Export 512x512 zip for Emojipedia: npm run export-emojipedia
  • Send email to Emojipedia :)

Force Pretty Source with SVGO

find src/ -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 node_modules/.bin/svgo --config helpers/beautify-svg.yml

Fix case-sensitivity file name issue

How to fix file name differences between case-sensitive file system (Linux) and case-insensitive file system (Windows, macOS) ... see also.

git mv black/svg/2b0c.png black/svg/2B0C.png

bash script code snippet

#!/usr/bin/env bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd "$SCRIPTPATH"

hexcodes=("2b0c" "2b0d" "2b8f")

for hex_lower in ${hexcodes[@]}; do
  hex_upper=$(echo "$hex_lower" | awk '{print toupper($0)}')
  echo ${hex_lower} ${hex_upper}
  git mv data/black/svg/${hex_lower}.svg data/black/svg/${hex_upper}.svg
  git mv data/color/svg/${hex_lower}.svg data/color/svg/${hex_upper}.svg
done

.github/workflows/autoresponder-ooo.yml

name: Autoresponder Out of Office

on:
  issues:
    types: [opened]
  issue_comment:
    types: [created]
  pull_request:
    types: [opened]

jobs:
  auto-response:
    runs-on: ubuntu-latest

    steps:
    - uses: derekprior/add-autoresponse@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        respondableId: ${{ github.event.issue.node_id }}
        response: "🏝 OpenMoji is on hold over summer (project maintainers are out of office until Oct 2020)."
        author: ${{ github.event.issue.user.login }}
        exemptedAuthors: "carlinmack, b-g"