Set up Felt React development branch and prerelease workflow

Aperta
#12,666 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, react, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

  • 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

Lingua principale
TypeScript
Stelle
859
Fork
395
Merge medio
3g 13h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di patternfly/patternfly-react

Tutte le issue di patternfly/patternfly-react

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.