1
0
Fork 0
mirror of https://github.com/italicsjenga/agb.git synced 2025-02-23 22:58:18 +11:00
agb/.github/scripts/publish-crate.sh
2022-01-12 22:46:48 +00:00

8 lines
159 B
Bash

#!/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)