From a11b8a7aaeb86b838501ded7a2c8a2eff0e68aba Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Thu, 21 Oct 2021 10:02:18 -0700 Subject: [PATCH] Make next release major release (#260) * Creating next_major branch for major releases * Rename color blind themes (#254) * Rename protanopia themes to colorblind * Rename protanopia themes to colorblind * Create green-apples-hang.md * Update green-apples-hang.md * Delete pre.json --- .changeset/green-apples-hang.md | 5 +++++ .github/workflows/release.yml | 1 + .github/workflows/release_canary.yml | 2 +- .github/workflows/release_candidate.yml | 2 +- data/colors/index.ts | 8 ++++---- .../themes/{dark_protanopia.ts => dark_colorblind.ts} | 0 .../themes/{light_protanopia.ts => light_colorblind.ts} | 0 7 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .changeset/green-apples-hang.md rename data/colors/themes/{dark_protanopia.ts => dark_colorblind.ts} (100%) rename data/colors/themes/{light_protanopia.ts => light_colorblind.ts} (100%) diff --git a/.changeset/green-apples-hang.md b/.changeset/green-apples-hang.md new file mode 100644 index 000000000..e54fe694a --- /dev/null +++ b/.changeset/green-apples-hang.md @@ -0,0 +1,5 @@ +--- +"@primer/primitives": major +--- + +Rename color blind themes diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb742a755..1f95f27fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: branches: - 'main' + - 'next_major' jobs: release: name: Final diff --git a/.github/workflows/release_canary.yml b/.github/workflows/release_canary.yml index 08db1a998..eb2179c31 100644 --- a/.github/workflows/release_canary.yml +++ b/.github/workflows/release_canary.yml @@ -3,7 +3,7 @@ on: push: branches-ignore: - 'main' - - 'changeset-release/main' + - 'changeset-release/**' - 'dependabot/**' jobs: diff --git a/.github/workflows/release_candidate.yml b/.github/workflows/release_candidate.yml index adfbc2a09..da683eed1 100644 --- a/.github/workflows/release_candidate.yml +++ b/.github/workflows/release_candidate.yml @@ -2,7 +2,7 @@ name: Release on: push: branches: - - 'changeset-release/main' + - 'changeset-release/**' jobs: release-candidate: diff --git a/data/colors/index.ts b/data/colors/index.ts index 2a80b5ff3..1b56a7781 100644 --- a/data/colors/index.ts +++ b/data/colors/index.ts @@ -1,15 +1,15 @@ import light from './themes/light' -import light_protanopia from './themes/light_protanopia' +import light_colorblind from './themes/light_colorblind' import dark from './themes/dark' import dark_dimmed from './themes/dark_dimmed' import dark_high_contrast from './themes/dark_high_contrast' -import dark_protanopia from './themes/dark_protanopia' +import dark_colorblind from './themes/dark_colorblind' export default { light, - light_protanopia, + light_colorblind, dark, dark_dimmed, dark_high_contrast, - dark_protanopia + dark_colorblind } diff --git a/data/colors/themes/dark_protanopia.ts b/data/colors/themes/dark_colorblind.ts similarity index 100% rename from data/colors/themes/dark_protanopia.ts rename to data/colors/themes/dark_colorblind.ts diff --git a/data/colors/themes/light_protanopia.ts b/data/colors/themes/light_colorblind.ts similarity index 100% rename from data/colors/themes/light_protanopia.ts rename to data/colors/themes/light_colorblind.ts