Skip to content

Commit

Permalink
adjust publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
jpw1991 committed Jan 25, 2024
1 parent ee69c37 commit e635b7b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions publish_release.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/bin/bash

RELEASEDIR=ChebsNecromancy/bin/Release
RELEASEDIR=ChebsNecromancy/bin/Release/net48
DLL=$RELEASEDIR/ChebsNecromancy.dll
LIB=../chebs-valheim-library/ChebsValheimLibrary/bin/Release/ChebsValheimLibrary.dll
LIB=$RELEASEDIR/ChebsValheimLibrary.dll
BUN=ChebsNecromancyUnity/Assets/AssetBundles/chebgonaz
PLUGINS=ChebsNecromancy/Package/plugins
README=README.md
TRANSLATIONS=Translations
BEPINEX=ChebsNecromancy/libs/BepInEx.dll

VERSION=$1

Expand Down Expand Up @@ -43,11 +42,6 @@ if [ ! -f "$README" ]; then
exit 1
fi

if [ ! -f "$BEPINEX" ]; then
echo "Error: $BEPINEX does not exist or is not readable."
exit 1
fi


cp -f "$DLL" "$PLUGINS" || { echo "Error: Failed to copy $DLL"; exit 1; }
cp -f "$LIB" "$PLUGINS" || { echo "Error: Failed to copy $LIB"; exit 1; }
Expand Down

0 comments on commit e635b7b

Please sign in to comment.