Skip to content

Commit

Permalink
add publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
aome510 committed Jun 22, 2022
1 parent 2033cc9 commit 52908a4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -eux -o pipefail

cd "$( dirname -- "${BASH_SOURCE[0]}" )" && cd ..

crate="${1:-spotify_player}"

git checkout master && git fetch && git merge origin/master

cd $crate && cargo publish

0 comments on commit 52908a4

Please sign in to comment.