Skip to content

Commit 52908a4

Browse files
committed
add publish script
1 parent 2033cc9 commit 52908a4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/publish

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -eux -o pipefail
4+
5+
cd "$( dirname -- "${BASH_SOURCE[0]}" )" && cd ..
6+
7+
crate="${1:-spotify_player}"
8+
9+
git checkout master && git fetch && git merge origin/master
10+
11+
cd $crate && cargo publish

0 commit comments

Comments
 (0)