Skip to content

Commit

Permalink
Provide a way to specify the version of TTFs
Browse files Browse the repository at this point in the history
This should be done when building TTFs for release, so that the new fonts can be committed before the Git tag is created.

Fixes #485.
  • Loading branch information
mavit committed Dec 23, 2023
1 parent 21ae69d commit 4625ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion font/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ You need to have the following installed:
2. Open a terminal and go to the OpenMoji folder
- `cd path/to/openmoji`
3. Run the font builder
- `./helpers/generate-fonts.sh`
- `./helpers/generate-fonts.sh [version]`
- Wait for build to finish. This can take a few hours for the initial run. Be patient!
4. Done ✅

Expand Down
2 changes: 1 addition & 1 deletion helpers/generate-fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -ueo pipefail
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"/.. || exit 1

build_dir="/mnt/build"
version=$(git describe --tags)
version=${1:-$(git describe --tags)}

# If we're connected to a terminal, don't flood it with ninja output,
# and enable ^C.
Expand Down

0 comments on commit 4625ff5

Please sign in to comment.