mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31: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"
|
||||
TAGNAME="v$VERSION"
|
||||
;;
|
||||
agb-image-converter)
|
||||
DIRECTORY="agb-image-converter"
|
||||
TAGNAME="agb-image-converter/v$VERSION"
|
||||
;;
|
||||
agb-sound-converter)
|
||||
DIRECTORY="agb-sound-converter"
|
||||
TAGNAME="agb-sound-converter/v$VERSION"
|
||||
;;
|
||||
agb-macros)
|
||||
DIRECTORY="agb-macros"
|
||||
TAGNAME="agb-macros/v$VERSION"
|
||||
agb-*)
|
||||
if [ -f "$PROJECT/Cargo.toml" ]; then
|
||||
DIRECTORY=$PROJECT
|
||||
TAGNAME="$PROJECT/v$VERSION"
|
||||
else
|
||||
echo "Unknown project name $PROJECT"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
mgba-test-runner)
|
||||
DIRECTORY="mgba-test-runner"
|
||||
TAGNAME="mgba-test-runner/v$VERSION"
|
||||
;;
|
||||
agb-fixnum)
|
||||
DIRECTORY="agb-fixnum"
|
||||
TAGNAME="agb-fixnum/v$VERSION"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown project name $PROJECT"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue