From 31856d141e16bd0ea95a9d7d4013dd71f12279c2 Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Sun, 28 Jan 2024 12:36:59 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94611c45..327f2c4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,7 +106,7 @@ jobs: run: | VERSION=${{ needs.modpack-info.outputs.project_version }} sed -i -e "s/DEV/${VERSION}/g" .github/buildtools/modpack/instance.cfg - sed -i -e "s/DEV/${VERSION}/g" groocy/runConfig.json + sed -i -e "s/DEV/${VERSION}/g" groovy/runConfig.json sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt - name: Download Mods @@ -154,6 +154,14 @@ jobs: echo "password=${{ secrets.USER_TOKEN_XIKARO }}"; }; f' git submodule update --recursive + - name: Replace strings + shell: bash + run: | + VERSION=${{ needs.modpack-info.outputs.project_version }} + sed -i -e "s/DEV/${VERSION}/g" .github/buildtools/modpack/instance.cfg + sed -i -e "s/DEV/${VERSION}/g" groovy/runConfig.json + sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt + - name: Export serverpack run: | mkdir -p .minecraft