whoops i did the math wrong

This commit is contained in:
Bella 2020-03-10 19:51:27 -04:00
parent 3ec66845f4
commit b3af39e840
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
CUR_VER="$(cat ./scripts/curVer)"
COMMIT_TRIM="${TRAVIS_COMMIT::33}"
COMMIT_TRIM="${TRAVIS_COMMIT::7}"
sed -i "s/modVersion=.*/modVersion=${CUR_VER:1}-$COMMIT_TRIM/" gradle.properties
sed -i "s/\"version\": \".*\",/\"version\": \"${CUR_VER:1}-$COMMIT_TRIM\",/" src/main/resources/mcmod.info