File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6767
6868 - name : Create and push tag
6969 run : |
70- MOD_VERSION=$(grep "mod_version" gradle.properties | cut -d'=' -f2 | tr -d ' \r')
70+ MOD_VERSION=$(grep "^ mod_version= " gradle.properties | cut -d'=' -f2 | tr -d ' \r')
7171 git config --global user.name "Wurst-Bot"
7272 git config --global user.email "contact.wurstimperium@gmail.com"
7373 git tag "$MOD_VERSION"
@@ -91,10 +91,10 @@ jobs:
9191 id : website_inputs
9292 if : ${{ inputs.update_website }}
9393 run : |
94- MOD_VERSION=$(grep "mod_version" gradle.properties | cut -d'=' -f2 | tr -d ' \r')
94+ MOD_VERSION=$(grep "^ mod_version= " gradle.properties | cut -d'=' -f2 | tr -d ' \r')
9595 WURST_VERSION=$(echo "$MOD_VERSION" | sed 's/^v//' | sed 's/-MC.*$//')
96- MC_VERSION=$(grep "minecraft_version" gradle.properties | cut -d'=' -f2 | tr -d ' \r')
97- FAPI_VERSION=$(grep "fabric_version" gradle.properties | cut -d'=' -f2 | tr -d ' \r')
96+ MC_VERSION=$(grep "^ minecraft_version= " gradle.properties | cut -d'=' -f2 | tr -d ' \r')
97+ FAPI_VERSION=$(grep "^ fabric_version= " gradle.properties | cut -d'=' -f2 | tr -d ' \r')
9898 JSON_STRING=$(cat << EOF
9999 {
100100 "wurst_version": "$WURST_VERSION",
You can’t perform that action at this time.
0 commit comments