Skip to content

Commit e472634

Browse files
Merge branch 'master' into dependabot/gradle/com.diffplug.spotless-7.0.1
2 parents 2378f6c + fdde74d commit e472634

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
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",

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ loader_version=0.16.9
1313
fabric_version=0.113.0+1.21.4
1414

1515
# Mod Properties
16-
mod_version = v7.46.6-MC1.21.4
17-
maven_group = net.wurstclient
18-
archives_base_name = Wurst-Client
16+
mod_version=v7.46.6-MC1.21.4
17+
maven_group=net.wurstclient
18+
archives_base_name=Wurst-Client
1919

2020
# Dependencies

0 commit comments

Comments
 (0)