diff --git a/.github/workflows/renaming.sh b/.github/workflows/renaming.sh index f54ff96..adabe26 100644 --- a/.github/workflows/renaming.sh +++ b/.github/workflows/renaming.sh @@ -1,7 +1,7 @@ #!/bin/bash # Setting the variables -projectId="$(grep 'archives_base_name' | sed 's/archives_base_name = //g;s/ //g;s/,//g;s/"//g')" +projectId="$(grep 'archives_base_name' gradle.properties | sed 's/archives_base_name = //g;s/ //g;s/,//g;s/"//g')" version="$(grep 'mod_version' gradle.properties | grep -o '[0-9]*\.[0-9]*\.[0-9]*')" mcVersion="$(grep 'minecraft_version' gradle.properties | sed 's/minecraft_version=//g;s/ //g;s/,//g;s/"//g')"