Fix hook not working

This commit is contained in:
Dominika 2020-07-15 10:34:42 -04:00
parent aea2717454
commit 264a51edb7
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ cd ~/website/
git pull
sleep 1
sed -i "s|beta_jar_url:.*|beta_jar_url: https://github.com/kami-blue/nightly-releases/releases/download/${CUR_VER}-${COMMIT_TRIM}/${JAR_DIR}|g" docs/_config.yml
sed -i "s|beta_ver:.*|beta_ver: v${CUR_VER}-${COMMIT_TRIM}|g" docs/_config.yml
sed -i "s|beta_jar_url:.*|beta_jar_url: https://github.com/kami-blue/nightly-releases/releases/download/${CUR_VER}-${COMMIT_TRIM}/${JAR_DIR}|g" _config.yml
sed -i "s|beta_ver:.*|beta_ver: v${CUR_VER}-${COMMIT_TRIM}|g" _config.yml
git commit -a -m "bump ver to v${CUR_VER}-${COMMIT_TRIM}"
git push origin master