We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c176f commit 35ef94bCopy full SHA for 35ef94b
1 file changed
.github/workflows/build_and_publish.yaml
@@ -56,7 +56,8 @@ jobs:
56
- name: Read current mod version
57
id: read_version
58
run: |
59
- mod_version=$(grep "modVersion" gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
+ mod_version=$(grep -E '^ *modVersion[[:space:]]*=' gradle.properties | cut -d'=' -f2 | tr -d '[:space:]')
60
+ echo "Current mod version: $mod_version"
61
if [ "$mod_version" == "${{inputs.version}}" ]; then
62
echo "UPDATED=true" >> $GITHUB_ENV
63
else
0 commit comments