Skip to content

Commit 7060aa9

Browse files
committed
release script
1 parent 200a5b5 commit 7060aa9

3 files changed

Lines changed: 30 additions & 27 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,4 @@ dist
173173

174174
# Finder (MacOS) folder config
175175
.DS_Store
176+
sf.zip

install.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ fi
6464

6565
# Download the 'sf' CLI binary from the specified URL.
6666
echo "Downloading '${BINARY_NAME}' CLI binary..."
67+
echo "curl -L -o \"${TMPDIR}/${BINARY_NAME}.zip\" \"${SF_BINARY_URL}\""
6768
curl -L -o "${TMPDIR}/${BINARY_NAME}.zip" "${SF_BINARY_URL}"
6869

6970
# Extract the zip file in the temporary directory.

package.json

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
{
2-
"dependencies": {
3-
"commander": "^12.1.0",
4-
"dotenv": "^16.4.5",
5-
"ora": "^8.0.1"
6-
},
7-
"name": "@sfc/cli",
8-
"bin": {
9-
"sfc": "dist/cli.js"
10-
},
11-
"type": "module",
12-
"module": "src/index.ts",
13-
"scripts": {
14-
"format": "biome format --write ./src",
15-
"lint": "biome lint --write ./src",
16-
"check": "biome check ./src",
17-
"dev": "bun run src/index.ts",
18-
"pack": "bun build src/index.ts --outfile dist/cli.js"
19-
},
20-
"devDependencies": {
21-
"@biomejs/biome": "^1.8.2",
22-
"@types/bun": "latest"
23-
},
24-
"peerDependencies": {
25-
"typescript": "^5.0.0"
26-
},
27-
"version": "0.0.0-pre.1720030576610"
28-
}
2+
"dependencies": {
3+
"commander": "^12.1.0",
4+
"dotenv": "^16.4.5",
5+
"ora": "^8.0.1"
6+
},
7+
"name": "@sfc/cli",
8+
"bin": {
9+
"sfc": "dist/cli.js"
10+
},
11+
"type": "module",
12+
"module": "src/index.ts",
13+
"scripts": {
14+
"format": "biome format --write ./src",
15+
"lint": "biome lint --write ./src",
16+
"check": "biome check ./src",
17+
"dev": "bun run src/index.ts",
18+
"pack": "bun build src/index.ts --outfile dist/cli.js",
19+
"release": "bun run src/scripts/release.ts"
20+
},
21+
"devDependencies": {
22+
"@biomejs/biome": "^1.8.2",
23+
"@types/bun": "latest"
24+
},
25+
"peerDependencies": {
26+
"typescript": "^5.0.0"
27+
},
28+
"version": "0.0.0-pre.1720030576610"
29+
}

0 commit comments

Comments
 (0)