mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Allow any project to be released in release.sh
This commit is contained in:
parent
71e2e64c48
commit
c575f63281
23
release.sh
23
release.sh
|
@ -31,26 +31,19 @@ case "$PROJECT" in
|
||||||
DIRECTORY="agb"
|
DIRECTORY="agb"
|
||||||
TAGNAME="v$VERSION"
|
TAGNAME="v$VERSION"
|
||||||
;;
|
;;
|
||||||
agb-image-converter)
|
agb-*)
|
||||||
DIRECTORY="agb-image-converter"
|
if [ -f "$PROJECT/Cargo.toml" ]; then
|
||||||
TAGNAME="agb-image-converter/v$VERSION"
|
DIRECTORY=$PROJECT
|
||||||
;;
|
TAGNAME="$PROJECT/v$VERSION"
|
||||||
agb-sound-converter)
|
else
|
||||||
DIRECTORY="agb-sound-converter"
|
echo "Unknown project name $PROJECT"
|
||||||
TAGNAME="agb-sound-converter/v$VERSION"
|
exit 1
|
||||||
;;
|
fi
|
||||||
agb-macros)
|
|
||||||
DIRECTORY="agb-macros"
|
|
||||||
TAGNAME="agb-macros/v$VERSION"
|
|
||||||
;;
|
;;
|
||||||
mgba-test-runner)
|
mgba-test-runner)
|
||||||
DIRECTORY="mgba-test-runner"
|
DIRECTORY="mgba-test-runner"
|
||||||
TAGNAME="mgba-test-runner/v$VERSION"
|
TAGNAME="mgba-test-runner/v$VERSION"
|
||||||
;;
|
;;
|
||||||
agb-fixnum)
|
|
||||||
DIRECTORY="agb-fixnum"
|
|
||||||
TAGNAME="agb-fixnum/v$VERSION"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
echo "Unknown project name $PROJECT"
|
echo "Unknown project name $PROJECT"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue