Skip to content

Commit 205d771

Browse files
authored
Merge pull request #5 from contentstack/fix/release
fix: release workflow
2 parents 094c2a0 + a1d4fab commit 205d771

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Upload dist
2424
uses: actions/upload-artifact@v3.1.2
2525
with:
26-
name: lib
27-
path: lib
26+
name: dist
27+
path: dist
2828

2929
release:
3030
name: Download dist and release

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-launch",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Launch related operations",
55
"author": "Contentstack CLI",
66
"bin": {
@@ -88,8 +88,8 @@
8888
"prepack-bkp": "npm run build && oclif manifest && oclif readme",
8989
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
9090
"version": "oclif readme && git add README.md",
91-
"build": "npm run clean && shx rm -rf lib && tsc -b",
92-
"clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json",
91+
"build": "npm run clean && npm run compile",
92+
"clean": "rm -rf ./dist tsconfig.build.tsbuildinfo",
9393
"compile": "tsc -b tsconfig.json",
9494
"prepack": "npm run build && oclif manifest && oclif readme",
9595
"test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"declaration": true,
44
"importHelpers": true,
55
"module": "commonjs",
6-
"outDir": "lib",
6+
"outDir": "dist",
77
"rootDir": "src",
88
"strict": true,
99
"target": "es2017",

0 commit comments

Comments
 (0)