mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Add generic publish crate script
This commit is contained in:
parent
b7d52c8ec2
commit
da1fea86fe
8
.github/scripts/publish-crate.sh
vendored
Normal file
8
.github/scripts/publish-crate.sh
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e # Fail if any command fails
|
||||
|
||||
RELEASE_TAG=$(git tag --points-at HEAD)
|
||||
|
||||
PROJECT=${RELEASE_TAG/\/*/}
|
||||
(cd "$PROJECT" && cargo publish)
|
Loading…
Reference in a new issue