Update release.yml
This commit is contained in:
parent
634c73b2fd
commit
4eb3c258d5
1 changed files with 3 additions and 10 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue