Set up Felt React development branch and prerelease workflow

未关闭
#12,666 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, react, typescript

调研方向

Start by reviewing the React package.json files, .github/workflows/release.yml, release.sh, lerna.json, and the docs-framework package.json. Trace the existing main-branch release flow before configuring the felt-v1 branch, prerelease publishing, allowed branches, public prerelease access, and the preview workspace. Done means the branch workflow and dry-run or publish path are configured consistently and the workspace setup is included.

由索引模型根据 Issue 内容生成。

描述

  • Create/configure the React felt-v1 branch.

  • Establish React package prerelease publishing.

“How to” docs modified from

To set up a development branch in react

  • Create the new major release development branch

  • Open a PR against the release development branch

  • In each react package’s package.json

  • Change the version to 0.0.1-prerelease.0

  • update the publishConfig ‘tag’ to ‘prerelease’ and add ‘access: “public”’

  • Update all @patternfly dependencies to use the new versions

  • In .github/workflows/release.yml

  • Update on: push: branches: felt-v1

  • In release.sh

  • Update the lerna publish command in release.sh to add

  • yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt

  • # use lerna command below for dry run

  • # yarn run lerna version prerelease --preid=prerelease --dist-tag=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt

  • update lerna.json to include ‘allowbranch: [‘main’, ‘felt-v1’]’

  • It should always include all branches that are releasing different major versions

  • Note: this PR will fail to build because it’ll try to build with the old github actions. You need to merge it for PRs on this branch to build.

  • Also need to: 

  • set up workspace (standing surge site for previewing what’s on the development branch)


Jira Issue: PF-4694

主要语言
TypeScript
星标
859
派生
395
平均合并
3 天 13 小时
30 天内合并 PR
15

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

patternfly/patternfly-react 的其他 Issue

查看 patternfly/patternfly-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。