Skip to content

Commit 3445d1f

Browse files
committed
build: fix publish script
1 parent 7c3709c commit 3445d1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

float-pigment-css/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ struct Hello {
6363
}
6464
```
6565

66-
To update the `compile_cache`, run `cargo run --bin float_pigment_css_update_version`.
66+
To update the `compile_cache`, run `cargo run --bin float_pigment_css_update_version --features compile_cache`.
6767
(This will be automatically done by the publish script.)

publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ else
5353
fi
5454

5555
# git operations
56-
if test -z '$(git status --porcelain)'; then
56+
if [ -z "$(git status --porcelain)" ]; then
5757
echo 'Git status OK.'
5858

5959
# update compile cache for float-pigment-css
60-
if cargo run --bin float_pigment_css_update_version; then
60+
if cargo run --bin float_pigment_css_update_version --features compile_cache; then
6161
echo 'Compile cache for float-pigment-css updated.'
6262
else
6363
echo 'Failed to update compile cache for float-pigment-css! Abort'

0 commit comments

Comments
 (0)