Skip to content

Commit

Permalink
New release 0.0.16-12 (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat authored Feb 10, 2022
1 parent 7cfb6a2 commit f83032c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik",
"version": "0.0.16-11",
"version": "0.0.16-12",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"scripts": {
"build": "node scripts --tsc --build --api --platform-binding --wasm",
Expand Down
9 changes: 8 additions & 1 deletion scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,15 @@ export async function commitPrepareReleaseVersion(config: BuildConfig) {
updatedPkg.version = config.distVersion;
await writePackageJson(config.rootDir, updatedPkg);

// update the cli version
const distCliDir = join(config.rootDir, 'src', 'cli');
const cliPkgJsonPath = join(distCliDir, 'package.json');
const cliPkg = await readPackageJson(distCliDir);
cliPkg.version = config.distVersion;
await writePackageJson(distCliDir, cliPkg);

// git add the changed package.json
const gitAddArgs = ['add', pkgJsonPath];
const gitAddArgs = ['add', pkgJsonPath, cliPkgJsonPath];
await run('git', gitAddArgs);

// git commit the changed package.json
Expand Down
2 changes: 1 addition & 1 deletion src/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-qwik",
"version": "0.0.15",
"version": "0.0.16-12",
"description": "Interactive CLI and API for generating Qwik projects.",
"bin": {
"create-qwik": "create-qwik"
Expand Down

0 comments on commit f83032c

Please sign in to comment.