Files
grimmory/tools/release/Justfile
T

25 lines
722 B
Makefile

set shell := ["bash", "-eu", "-o", "pipefail", "-c"]
# Use Corepack to ensure the pinned modern Yarn version is installed.
yarn := "env YARN_ENABLE_GLOBAL_CACHE=0 YARN_CACHE_FOLDER=../../.yarn/cache corepack yarn"
# Show the release-tooling recipes available in this directory.
help:
@just --list
# Install the pinned semantic-release tooling used by local and CI release tasks.
install:
{{ yarn }} install --immutable
# Preview the next semantic-release result for the current checkout.
preview:
{{ yarn }} release:dry-run
# Generate release notes for an explicit commit range.
range-notes:
{{ yarn }} release:range-notes
# Run semantic-release for the current checkout.
run:
{{ yarn }} release