Skip to content

Commit ea79fef

Browse files
authored
docs: Update version references (#1470)
1 parent 380aba5 commit ea79fef

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

docs/content/develop/step-5.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ tags = [ "develop" ]
3939
* See the diffs of what was merged between now & the last release
4040
* Or look at PR merged list with "last-updated" sort order: \
4141
[https://github.com/patternfly/patternfly-elements/pulls?q=is%3Apr+is%3Aclosed+sort%3Aupdated-desc](https://github.com/patternfly/patternfly-elements/pulls?q=is%3Apr+is%3Aclosed+sort%3Aupdated-desc)
42-
8. Update the file `CHANGELOG-prerelease.md` and save
43-
9. <span style="text-decoration:underline;">Search</span> for release tag string in /docs/layout directory i.e. "prerelease.19" and update to release number \
42+
8. Update the file `CHANGELOG-1.x.md` and save
43+
9. <span style="text-decoration:underline;">Search</span> for release tag string in /docs/layout directory i.e. "1.3.0" and update to release number \
4444

4545
<img src="/version_storybook.png" width="450"/>
4646

@@ -59,15 +59,15 @@ This script will do the following:
5959
1. Create release branch
6060
2. Create compiled assets and commit them
6161
3. Uses [lerna](https://lerna.js.org) to guess at what the next release will be
62-
1. **Choose "custom prerelease" (for now)**
62+
1. **Choose appropriate version bump (minor, patch)**
6363
2. It bumps the version numbers inside the package.json files in the components (currently all components are bumped, will fix)
6464
4. Pushes the branch
6565
5. Pushes independent tags for each component and pushes to NPM
6666
6. Remove compiled assets
6767
7. Returns you to the master branch
6868

6969

70-
### V. Github Updates
70+
### V. GitHub Updates
7171

7272
1. Create a PR
7373
2. Get someone to review
@@ -95,7 +95,7 @@ This script will do the following:
9595
```
9696
Greetings!
9797
98-
There is a new release tag for PatternFly Elements, [v1.0.0-prerelease.36](https://github.com/patternfly/patternfly-elements/releases/tag/v1.0.0-prerelease.36), which includes
98+
There is a new release tag for PatternFly Elements, [v1.3.2](https://github.com/patternfly/patternfly-elements/releases/tag/v1.3.2), which includes
9999
100100
101101
@@ -122,11 +122,12 @@ To roll a new release, use the following steps:
122122
1. Start in the root directory of the patternfly-elements project.
123123
2. Check out the master branch and pull down the latest:
124124
- `git reset --hard && git clean -df && git checkout master && git fetch origin && git pull`
125-
3. To have lerna bump the verions, run: `npm run lerna version -- --no-git-tag-version --no-push --preid prerelease`.
125+
3. To have lerna bump the verions, run: `npm run lerna version -- --no-git-tag-version --no-push`.
126126
- Choose the appropriate version bump type for the release you're publishing:
127-
- if bumping a prerelease version (example: from 1.0.0-prerelease.2 to 1.0.0-prerelease.3), choose *Custom Prerelease*
128-
4. Assign that version to this variable for use below: `$NEW_VERSION="1.0.0-prerelease.3"`.
129-
5. Create a new branch: `git checkout -b release/$NEW_VERSION` (example: release/1.0.0-prerelease.3).
127+
- if bumping a patch version (example: from 1.3.2 to 1.3.3)
128+
- if bumping a minor version (example: from 1.3.2 to 1.4.0)
129+
4. Assign that version to this variable for use below: `$NEW_VERSION="1.3.0"`.
130+
5. Create a new branch: `git checkout -b release/$NEW_VERSION` (example: release/1.3.0).
130131
5. Run a fresh install, build all the assets, and then force add those assets for the tag release:
131132
- `npm install && npm run build && git add elements/*/*.{js,map,css} -f`
132133
6. Commit the updates: `git commit -am "$NEW_VERSION"`

docs/content/getting-started/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ $ npm install --save @patternfly/pfe-cta
3030
This will install not only the pfe-card and pfe-cta, but also the base element, "pfelement", and will save it to your package-lock.json. Depending on which browsers you support, you may also need to load the [custom-elements](https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements) and webcomponentsjs [polyfills](https://www.webcomponents.org/polyfills).
3131

3232
```bash
33-
"@patternfly/pfe-card": "1.0.0-prerelease.42",
34-
"@patternfly/pfe-cta": "1.0.0-prerelease.42",
33+
"@patternfly/pfe-card": "1.3.2",
34+
"@patternfly/pfe-cta": "1.3.2",
3535
"@webcomponents/custom-elements": "^1.2.1",
3636
"@webcomponents/webcomponentsjs": "^2.2.10",
3737
```

docs/content/theme/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Any other component making use of that same `ui-accent` value will inherit your
5353

5454
Each component comes equipped to adjust its colors depending on the context inside which it exists. For example, should you need to put a default CTA (which is blue) on a dark blue card, the CTA will need to adapt so that the text remain readable. The card component therefore needs to pass down a `context` to the CTA, which it does using the `on="dark"` attribute. This is programmatically applied by JavaScript that runs from the base class, `PFElement` (you don't have to do a thing!). To manually override a component's context, you can do this by setting the `context="dark"` attribute.
5555

56-
<pfe-card color="darkest">
56+
<pfe-card color="darkest" style="padding: 5px 10px; max-width: fit-content; margin-top: 10px;">
5757
<pfe-cta>
5858
<a href="#">Default</a>
5959
</pfe-cta>

docs/layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Convert to a partial -->
99
<nav id="main-toc">
1010
<section class="inner-toc">
11-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.56</span>
11+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.3.2</span>
1212

1313
<h3><a href="/getting-started">Getting Started</a></h3>
1414
<ul>

docs/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- Convert to a partial -->
99
<nav id="main-toc">
1010
<section class="inner-toc">
11-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.56</span>
11+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.3.2</span>
1212

1313
<h3><a href="/getting-started">Getting Started</a></h3>
1414
<ul>

docs/layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<!-- Convert to a partial -->
4141
<nav id="mobile-toc" class="hide">
4242
<section class="inner-toc">
43-
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.0.0-prerelease.56</span>
43+
<span class="label big" style="margin-bottom: 1.5rem;">Version 1.3.2</span>
4444

4545
<h3><a href="/getting-started">Getting Started</a></h3>
4646
<ul>

0 commit comments

Comments
 (0)