Skip to content

Commit

Permalink
feat(v5): update patch version, update GH actions to publish to v5 ar…
Browse files Browse the repository at this point in the history
…chive (#4285)

* feat(v5): update GH actions to publish to v5 archive

* update versions with patch
  • Loading branch information
kmcfaul authored Oct 1, 2024
1 parent 61aa3e0 commit 904b53d
Show file tree
Hide file tree
Showing 7 changed files with 229 additions and 199 deletions.
6 changes: 3 additions & 3 deletions .github/upload-staging.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
aws s3 rm --recursive s3://patternfly-org-staging
aws s3 rm --recursive s3://patternfly-org-v5
# TODO: Proper S3 meta tags for redirects
aws s3 sync build/patternfly-org/site s3://patternfly-org-staging --exclude "*" \
aws s3 sync build/patternfly-org/site s3://patternfly-org-v5 --exclude "*" \
--include "*.html" \
--include "*.json" \
--exclude "static/**/*.json" \
--include "sw.js" \
--cache-control "public, max-age=0, must-revalidate"

aws s3 sync build/patternfly-org/site s3://patternfly-org-staging --include "*" \
aws s3 sync build/patternfly-org/site s3://patternfly-org-v5 --include "*" \
--exclude "*.html" \
--exclude "*.json" \
--include "static/**/*.json" \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
branches:
- main
- v5
jobs:
build-deploy:
if: "!contains(github.event.head_commit.message, 'ci skip')"
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Upload extension only docs
uses: dswistowski/surge-sh-action@v1
with:
domain: 'extensions-staging.patternfly.org'
project: 'build/patternfly-org/site'
domain: "extensions-staging.patternfly.org"
project: "build/patternfly-org/site"
login: ${{ secrets.SURGE_LOGIN }}
token: ${{ secrets.SURGE_TOKEN }}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
]
},
"devDependencies": {
"@patternfly/patternfly": "5.4.0",
"@patternfly/react-code-editor": "5.4.0",
"@patternfly/react-core": "5.4.0",
"@patternfly/react-table": "5.4.0",
"@patternfly/patternfly": "5.4.1",
"@patternfly/react-code-editor": "5.4.3",
"@patternfly/react-core": "5.4.1",
"@patternfly/react-table": "5.4.1",
"@octokit/rest": "^19.0.7",
"glob": "^8.1.0",
"lerna": "^6.4.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/documentation-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
"webpack-merge": "5.8.0"
},
"peerDependencies": {
"@patternfly/patternfly": "5.4.0",
"@patternfly/react-code-editor": "5.4.0",
"@patternfly/react-core": "5.4.0",
"@patternfly/patternfly": "5.4.1",
"@patternfly/react-code-editor": "5.4.3",
"@patternfly/react-core": "5.4.1",
"@patternfly/react-styles": "5.4.0",
"@patternfly/react-table": "5.4.0",
"@patternfly/react-table": "5.4.1",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
Expand Down
27 changes: 26 additions & 1 deletion packages/documentation-framework/versions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
{
"Releases": [
{
"name": "5.4.1",
"date": "2024-09-30",
"latest": true,
"versions": {
"@patternfly/patternfly": "5.4.1",
"@patternfly/react-charts": "7.4.3",
"@patternfly/react-code-editor": "5.4.3",
"@patternfly/react-core": "5.4.1",
"@patternfly/react-icons": "5.4.0",
"@patternfly/react-styles": "5.4.0",
"@patternfly/react-table": "5.4.1",
"@patternfly/react-drag-drop": "5.4.1",
"@patternfly/react-tokens": "5.4.0",
"@patternfly/react-catalog-view-extension": "5.0.0",
"@patternfly/react-component-groups": "5.1.0",
"@patternfly/react-console": "5.1.0",
"@patternfly/react-log-viewer": "5.3.0",
"@patternfly/react-topology": "5.4.0",
"@patternfly/react-user-feedback": "5.0.0",
"@patternfly/react-virtualized-extension": "5.0.0",
"@patternfly/quickstarts": "5.4.0",
"@patternfly/react-templates": "1.1.1"
}
},
{
"name": "5.4.0",
"date": "2024-08-28",
"latest": true,
"hidden": true,
"versions": {
"@patternfly/patternfly": "5.4.0",
"@patternfly/react-charts": "7.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/documentation-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"screenshots": "pf-docs-framework screenshots"
},
"dependencies": {
"@patternfly/documentation-framework": "^5.21.0",
"@patternfly/documentation-framework": "^5.23.0",
"@patternfly/quickstarts": "5.4.0",
"@patternfly/react-catalog-view-extension": "5.0.0",
"@patternfly/react-console": "5.1.0",
"@patternfly/react-docs": "6.4.0",
"@patternfly/react-docs": "6.4.5",
"@patternfly/react-log-viewer": "5.3.0",
"@patternfly/react-topology": "5.4.0",
"@patternfly/react-user-feedback": "5.0.0",
Expand Down
Loading

0 comments on commit 904b53d

Please sign in to comment.