Skip to content

Commit 4642651

Browse files
committed
Update the script reminder to make updates easier in the future.
1 parent f6cd1f7 commit 4642651

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

scripts/bump-version.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ sed -i -e "s/^\(sailfish.*\) = .*/\1 = \"$NEW_VERSION\"/" README.md
3333
# bump version in documents
3434
find docs/en -path "*.md" -type f |while read f; do sed -i -e "s/^\(sailfish.*\) = .*/\1 = \"$NEW_VERSION\"/" "$f"; done
3535

36-
#cargo update -p sailfish --precise "${NEW_VERSION}"
37-
36+
#update the sailfish package to start
37+
cargo update -p sailfish --precise "${NEW_VERSION}"
3838
#update the sailfish-compiler with cargo publish
39+
cd sailfish-compiler
40+
cargo publish
3941
#update the sailfish-macros with cargo publish
40-
#update the sailfish with cargo publish -p sailfish
42+
cd ..
43+
cd sailfish-macros
44+
cargo publish
45+
#update the sailfish with cargo publish -p sailfish
46+
cd ..
47+
cargo publish -p sailfish

0 commit comments

Comments
 (0)