Skip to content

Commit 0f532ab

Browse files
authored
Merge pull request #39 from Automattic/update/release-instructions
Add release instructions
2 parents dfa0f12 + 0c44974 commit 0f532ab

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@ async function playwrightGenerator( urls: string[] ): Promise< string > {
7272
return css;
7373
}
7474
```
75+
76+
# Releasing new version
77+
- Update the const `version` in `src/index.ts`
78+
- Update version number in `package.json`
79+
- Commit your changes
80+
- Create a new release in [jetpack-boost-critical-css-gen](https://github.com/Automattic/jetpack-boost-critical-css-gen/releases/new)
81+
- Create a new tag in the release with the release version with the format `release-x.x.x`
82+
- The release title will be the same as the tag.
83+
- Click "Generate release notes" to automatically generate new release note.
84+
- Publish

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "jetpack-boost-critical-css-gen",
33
"main": "./lib/index.js",
4-
"description": "Critical CSS Generator capable of running in-browser (iframes) or on server-side (NodeJS + Puppeteer). Built for use with Jetpack Boost.",
5-
"version": "0.0.6",
4+
"description": "Critical CSS Generator capable of running in-browser (iframes) or on server-side (NodeJS + playwright). Built for use with Jetpack Boost.",
5+
"version": "0.0.9",
66
"license": "GPL-2.0-or-later",
77
"type": "module",
88
"scripts": {

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ export { generateCriticalCSS } from './generate-critical-css';
66

77
export * from './errors';
88

9-
export const version = '0.0.6';
9+
export const version = '0.0.9';

0 commit comments

Comments
 (0)