Skip to content

Commit 32d1f5d

Browse files
committed
[workflow] Enable cli feature in upload scripts
1 parent c6fc13b commit 32d1f5d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/upload_macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ set -e
66

77
VERSION=$(python3 scripts/release.py head)
88

9-
cargo build -r
10-
cargo build -r --target x86_64-apple-darwin
9+
cargo build -F cli -r
10+
cargo build -F cli -r --target x86_64-apple-darwin
1111
lipo -create -output coursepointer target/release/coursepointer target/x86_64-apple-darwin/release/coursepointer
1212
cp docs/bdist_readme.txt README.txt
1313
zip -j coursepointer-macos-v${VERSION}.zip coursepointer README.txt LICENSE.txt docs/third_party_licenses.md

scripts/upload_windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if ($LASTEXITCODE -ne 0) {
44
throw "release.py head failed with exit code $LASTEXITCODE"
55
}
66

7-
cargo build -r
7+
cargo build -F cli -r
88
if ($LASTEXITCODE -ne 0) {
99
throw "cargo build failed with exit code $LASTEXITCODE"
1010
}

0 commit comments

Comments
 (0)