Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: patternfly-labs/pf-react-release-playground
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @patternfly-labs/[email protected]
Choose a base ref
...
head repository: patternfly-labs/pf-react-release-playground
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Dec 21, 2022

  1. Copy the full SHA
    508241c View commit details
  2. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@1.0.5
     - @patternfly-labs/remixapp@1.0.9
     - @patternfly-labs/sub-footer@1.0.1
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    91d04ee View commit details
  3. feat(header): change the version to major

    BREAKING CHANGE: Major bump on header
    dgutride authored Dec 21, 2022
    Copy the full SHA
    9ba165a View commit details
  4. chore(release): releasing packages [ci skip]

     - @patternfly-labs/header@0.1.0
     - @patternfly-labs/remixapp@1.0.10
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    ba27f9d View commit details
  5. fix(header): bump version

    dgutride authored Dec 21, 2022
    Copy the full SHA
    c4ef52b View commit details
  6. fix lock

    dgutride committed Dec 21, 2022
    Copy the full SHA
    c31b8ca View commit details
  7. chore(release): releasing packages [ci skip]

     - @patternfly-labs/header@1.1.1
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    cb44527 View commit details
  8. Copy the full SHA
    148e69a View commit details
  9. Copy the full SHA
    d193e3e View commit details
  10. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-alpha.1
     - @patternfly-labs/header@2.0.0-alpha.1
     - @patternfly-labs/remixapp@2.0.0-alpha.1
     - @patternfly-labs/sub-footer@2.0.0-alpha.1
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    7f1327f View commit details
  11. Copy the full SHA
    8d4fee4 View commit details
  12. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-alpha.2
     - @patternfly-labs/remixapp@2.0.0-alpha.2
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    84272b7 View commit details
  13. Copy the full SHA
    d3da6be View commit details
  14. Copy the full SHA
    c73d13e View commit details
  15. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-alpha.3
     - @patternfly-labs/sub-footer@2.0.0-alpha.2
    patternfly-build committed Dec 21, 2022
    Copy the full SHA
    6f629eb View commit details

Commits on May 30, 2023

  1. feat(readme): test

    nicolethoen authored May 30, 2023
    Copy the full SHA
    99b4377 View commit details
  2. feat(test)

    nicolethoen authored May 30, 2023
    Copy the full SHA
    e6b2d35 View commit details
  3. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-alpha.4
     - @patternfly-labs/sub-footer@2.0.0-alpha.3
    patternfly-build committed May 30, 2023
    Copy the full SHA
    aae67d0 View commit details

Commits on Jun 5, 2023

  1. Copy the full SHA
    e66b41a View commit details
  2. Copy the full SHA
    ba4a38a View commit details
  3. Copy the full SHA
    b69bb85 View commit details
  4. Copy the full SHA
    7911494 View commit details
  5. chore(release): releasing packages [ci skip]

     - @patternfly-labs/header@2.0.0-alpha.3
    patternfly-build committed Jun 5, 2023
    Copy the full SHA
    c34967b View commit details
  6. Copy the full SHA
    4acbdcb View commit details
  7. Copy the full SHA
    feb39a7 View commit details
  8. Copy the full SHA
    0b0f8b5 View commit details
  9. Copy the full SHA
    ee575e9 View commit details
  10. fix(main): Fix versions

    dgutride committed Jun 5, 2023
    Copy the full SHA
    aa0d72d View commit details
  11. Copy the full SHA
    911903b View commit details
  12. Copy the full SHA
    e9b0ba9 View commit details
  13. Copy the full SHA
    d241213 View commit details
  14. Merge pull request #4 from patternfly-labs/fix-stuff

    fix(package): reverse package versions, dry run
    nicolethoen authored Jun 5, 2023
    Copy the full SHA
    a686fbd View commit details
  15. Copy the full SHA
    304230d View commit details
  16. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-alpha.5
     - @patternfly-labs/sub-footer@2.0.0-alpha.4
    patternfly-build committed Jun 5, 2023
    Copy the full SHA
    4d4f633 View commit details
  17. Copy the full SHA
    551282c View commit details
  18. fix(prerelease): move to prerelease versions

    fix(prerelease): move to prerelease versions
    dgutride authored Jun 5, 2023
    Copy the full SHA
    60a66e2 View commit details
  19. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-prerelease.1
     - @patternfly-labs/header@2.0.0-prerelease.1
     - @patternfly-labs/sub-footer@2.0.0-prerelease.1
    patternfly-build committed Jun 5, 2023
    Copy the full SHA
    ea36b6b View commit details

Commits on Jun 6, 2023

  1. Copy the full SHA
    2d80269 View commit details
  2. Copy the full SHA
    0e78afc View commit details
  3. Copy the full SHA
    145eaa4 View commit details
  4. Copy the full SHA
    50d30ba View commit details
  5. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-prerelease.3
     - @patternfly-labs/sub-footer@2.0.0-prerelease.3
    patternfly-build committed Jun 6, 2023
    Copy the full SHA
    2326cf1 View commit details
  6. Copy the full SHA
    7fdf520 View commit details
  7. Copy the full SHA
    3aa3b2f View commit details
  8. Copy the full SHA
    063e94f View commit details
  9. chore(release): releasing packages [ci skip]

     - @patternfly-labs/footer@2.0.0-prerelease.5
     - @patternfly-labs/sub-footer@2.0.0-prerelease.5
    patternfly-build committed Jun 6, 2023
    Copy the full SHA
    93139aa View commit details
  10. Copy the full SHA
    58f071d View commit details
  11. Copy the full SHA
    9c4505e View commit details
  12. chore(fix): update main ref

    dgutride committed Jun 6, 2023
    Copy the full SHA
    fce67cf View commit details
  13. try again

    dgutride committed Jun 6, 2023
    Copy the full SHA
    4877fea View commit details
27 changes: 27 additions & 0 deletions .github/promote.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash
GIT_USERNAME="patternfly-build"
GH_REPO=${GITHUB_REPOSITORY}
REPO="github.com/${GH_REPO}"
echo "Preparing release environment..."
git config user.email "patternfly-build@redhat.com"
git config user.name ${GIT_USERNAME}
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

# Lerna is complicated. Commands: https://github.com/lerna/lerna/tree/master/commands
# Identify packages that have been updated since the previous tagged release
# Update their versions and changelogs according to angular commit guidelines
# https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit

if [[ ! -z "${CORE_VERSION}" ]]; then
echo "updating to @patternfly/patternfly: ${CORE_VERSION}"
npm pkg set dependencies.@patternfly/patternfly=${CORE_VERSION} --workspace @patternfly-labs/footer --workspace @patternfly-labs/header --workspace @patternfly-labs/sub-footer
fi

# publish to github and npm
yarn run lerna publish --conventional-commits --conventional-graduate --no-private --dist-tag=latest --yes

# dry run
# yarn run lerna version --conventional-commits --conventional-graduate --no-private --yes --no-git-tag-version --no-push

# immediately after promote - set up repo for next prerelease
yarn run lerna version preminor --force-publish --conventional-commits --no-private --yes --preid prerelease
6 changes: 5 additions & 1 deletion .github/release.sh
Original file line number Diff line number Diff line change
@@ -13,4 +13,8 @@ echo "Doing a release..."
# Update their versions and changelogs according to angular commit guidelines
# https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit

yarn run lerna publish --conventional-commits --create-release=github --no-verify-access --yes
# publish to github and npm
yarn run lerna publish prerelease --conventional-commits --conventional-prerelease --preid=prerelease --no-private --dist-tag=prerelease --yes

# dry run
# yarn run lerna version prerelease --conventional-commits --conventional-prerelease --no-private --yes --no-git-tag-version --no-push
27 changes: 27 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: promote
on:
workflow_dispatch:
inputs:
core-version:
description: 'The PatternFly core version'
required: false
jobs:
deploy:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_SECRET }}
CORE_VERSION: ${{ github.event.inputs.core-version }}
GH_TOKEN: ${{ secrets.DG_GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.DG_GITHUB_TOKEN }} # needs to be an admin token to get around branch protection
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install deps
run: yarn install --frozen-lockfile
- name: Build dist
run: yarn build
- name: Deploy to NPM and Github
run: .github/promote.sh
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -12,13 +12,13 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
with:
fetch-depth: "0"
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install deps
run: yarn install
run: yarn install --frozen-lockfile
- name: Build dist
run: yarn build
- name: Deploy to NPM and Github
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@ Used for testing the pf-react build and release workflows

Uses lerna's getting started seed app.

`npm install && npm run build`
`npm install && npm run build`
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -12,5 +12,6 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"allowBranch": ["main", "v1"]
}
Loading