Skip to content

Commit 8b64d95

Browse files
committed
Do not remove .env file in clean script
1 parent 25c98ef commit 8b64d95

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# Copy this file to .env and fill in the values
2+
13
# This is needed to publish GitHub Releases
24
GITHUB_TOKEN=your_github_token

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"scripts": {
1313
"build": "pnpm -r build",
14-
"clean": "git clean -fdX .",
14+
"clean": "git clean -fdX -e .env .",
1515
"publish-release": "node --env-file .env ./scripts/publish-release.js",
1616
"publish-release-ci": "node ./scripts/publish-release.js",
1717
"tag-release": "node ./scripts/tag-release.js",

0 commit comments

Comments
 (0)