We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6fb08 commit 145147fCopy full SHA for 145147f
.github/workflows/build_and_publish.yaml
@@ -56,8 +56,8 @@ jobs:
56
- name: Read current mod version
57
id: read_version
58
run: |
59
- mod_version=$(grep "modVersion" buildscript.properties | cut -d'=' -f2 | tr -d '[:space:]')
60
- echo "Current mod version: $mod_version"
+ mod_version=$(grep -E '^[[:space:]]*modVersion[[:space:]]*=' buildscript.properties | cut -d'=' -f2 | tr -d '[:space:]')
+ echo "Current mod version: -$mod_version-"
61
if [ "$mod_version" == "${{inputs.version}}" ]; then
62
echo "UPDATED=true" >> $GITHUB_ENV
63
else
0 commit comments