Skip to content

Commit 5ff536e

Browse files
authored
ci(release.yml): Fix workflow and remove version scripts in package scripts (#4479)
* ci(release.yml): Remove new-version in release flow * Remove version in scripts * Update workflow
1 parent bb7d2d9 commit 5ff536e

12 files changed

Lines changed: 13 additions & 24 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: pnpm install --frozen-lockfile
7575

7676
- name: Set new version
77-
run: pnpm --fail-if-no-match --filter ${{ matrix.package }} version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version
77+
run: pnpm version ${{ needs.prepare.outputs.VERSION }} --filter ${{ matrix.package }} --fail-if-no-match --no-git-tag-version
7878

7979
- name: Build
8080
run: pnpm --filter ${{ matrix.package }} build
@@ -108,7 +108,7 @@ jobs:
108108
run: pnpm install --frozen-lockfile
109109

110110
- name: Set new version
111-
run: pnpm --filter lucide-static version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version
111+
run: pnpm version ${{ needs.prepare.outputs.VERSION }} --filter lucide-static --no-git-tag-version
112112

113113
- name: Move Font
114114
run: cp -r lucide-font packages/lucide-static/font

‎packages/angular/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"test": "pnpm build:icons && ng test --no-watch",
2727
"test:watch": "ng test",
2828
"lint": "npx eslint 'src/**/*.{js,jsx,ts,tsx,html,css,scss}' --quiet --fix",
29-
"e2e": "ng e2e",
30-
"version": "pnpm version --git-tag-version=false"
29+
"e2e": "ng e2e"
3130
},
3231
"prettier": {
3332
"printWidth": 100,

‎packages/astro/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"copy:license": "cp ../../LICENSE ./LICENSE",
4646
"copy:utils": "mkdir -p ./src/utils && for f in hasA11yProp toKebabCase mergeClasses; do cp -f ../../packages/shared/src/utils/$f.ts ./src/utils/; done",
4747
"test": "pnpm copy:utils && pnpm build:icons && vitest run",
48-
"test:watch": "pnpm build:icons && vitest run --watch",
49-
"version": "pnpm version --git-tag-version=false"
48+
"test:watch": "pnpm build:icons && vitest run --watch"
5049
},
5150
"devDependencies": {
5251
"@astrojs/ts-plugin": "^1.10.4",

‎packages/icons/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
"build:bundle": "rollup -c rollup.config.mjs",
5858
"test": "pnpm build:icons && vitest run",
5959
"test:watch": "vitest watch",
60-
"test:update": "vitest -u",
61-
"version": "pnpm version --git-tag-version=false"
60+
"test:update": "vitest -u"
6261
},
6362
"devDependencies": {
6463
"@lucide/build-icons": "workspace:*",

‎packages/lucide-preact/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --renderUniqueKey --withAliases --aliasesFileExtension=.ts --iconFileExtension=.ts --exportFileName=index.ts",
4545
"build:bundles": "rollup -c ./rollup.config.mjs",
4646
"test": "pnpm build:icons && vitest run",
47-
"test:watch": "vitest watch",
48-
"version": "pnpm version --git-tag-version=false"
47+
"test:watch": "vitest watch"
4948
},
5049
"devDependencies": {
5150
"@lucide/build-icons": "workspace:*",

‎packages/lucide-react-native/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@
5252
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --renderUniqueKey --iconFileExtension=.ts --exportFileName=index.ts --withAliases --aliasesFileExtension=.ts",
5353
"build:bundles": "rollup -c ./rollup.config.mjs",
5454
"test": "pnpm build:icons && vitest run",
55-
"test:watch": "vitest watch",
56-
"version": "pnpm version --git-tag-version=false"
55+
"test:watch": "vitest watch"
5756
},
5857
"devDependencies": {
5958
"@lucide/build-icons": "workspace:*",

‎packages/lucide-react/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
"typecheck": "tsc",
4848
"typecheck:watch": "tsc -w",
4949
"test": "pnpm build:icons && vitest run",
50-
"test:watch": "vitest watch",
51-
"version": "pnpm version --git-tag-version=false"
50+
"test:watch": "vitest watch"
5251
},
5352
"devDependencies": {
5453
"@lucide/build-icons": "workspace:*",

‎packages/lucide-solid/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
"typecheck": "tsc",
6666
"typecheck:watch": "tsc -w",
6767
"test": "pnpm build:icons && vitest run",
68-
"test:watch": "vitest watch",
69-
"version": "pnpm version --git-tag-version=false"
68+
"test:watch": "vitest watch"
7069
},
7170
"devDependencies": {
7271
"@babel/core": "^7.23.9",

‎packages/lucide-static/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --iconFileExtension=.ts --withAliases --aliasNamesOnly --aliasesFileExtension=.ts --exportFileName=index.ts",
3535
"build:lib": "node ./scripts/buildLib.mts",
3636
"build:bundles": "rollup -c rollup.config.mjs",
37-
"clean": "rm -rf lib && rm -rf build && rm -rf icons && rm -f sprite.svg",
38-
"version": "pnpm version --git-tag-version=false"
37+
"clean": "rm -rf lib && rm -rf build && rm -rf icons && rm -f sprite.svg"
3938
},
4039
"devDependencies": {
4140
"@lucide/build-icons": "workspace:*",

‎packages/lucide/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --iconFileExtension=.ts --withAliases --aliasNamesOnly --aliasesFileExtension=.ts --exportFileName=index.ts",
4040
"build:bundle": "rollup -c rollup.config.mjs",
4141
"test": "pnpm build:icons && vitest run",
42-
"test:watch": "vitest watch",
43-
"version": "pnpm version --git-tag-version=false"
42+
"test:watch": "vitest watch"
4443
},
4544
"devDependencies": {
4645
"@lucide/build-icons": "workspace:*",

0 commit comments

Comments
 (0)