From 4eb3c258d5466c8511827911b79ccb88202007c2 Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Sat, 4 May 2024 01:55:09 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67e3eb78d..0d6f5e44d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,13 +65,13 @@ jobs: shell: bash run: | VERSION=${{ needs.info.outputs.project_version }} - sed -i -e "s/DEV/${VERSION}/g" .github/buildtools/modpack/manifest.json + sed -i -e "s/DEV/${VERSION}/g" ./.github/buildtools/modpack/manifest.json sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt - name: Export CF run: | mkdir -p overrides - mv -vf {config,defaultconfigs,kubejs} overrides/ + mv -vf {config,defaultconfigs,kubejs} overrides/ mv -vf .github/buildtools/modpack/manifest.json ./ mv -vf .github/buildtools/modpack/modlist.html ./ zip -r ${{ needs.info.outputs.project_name }}-${{ needs.info.outputs.project_version }}-cf.zip manifest.json modlist.html overrides @@ -95,7 +95,7 @@ jobs: shell: bash run: | VERSION=${{ needs.info.outputs.project_version }} - sed -i -e "s/DEV/${VERSION}/g" .github/buildtools/modpack/instance.cfg + sed -i -e "s/DEV/${VERSION}/g" ./.github/buildtools/modpack/instance.cfg sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt - name: Download Mods @@ -144,13 +144,6 @@ jobs: echo "password=${{ secrets.USER_TOKEN_XIKARO }}"; }; f' git submodule update --recursive - - name: Replace strings - shell: bash - run: | - VERSION=${{ needs.info.outputs.project_version }} - sed -i -e "s/DEV/${VERSION}/g" ./.github/buildtools/modpack/manifest.json - sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt - - name: Export serverpack run: | mkdir -p .minecraft