Update preview.yml
This commit is contained in:
9
.github/workflows/preview.yml
vendored
9
.github/workflows/preview.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/R}
|
||||
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/Pre*-R}
|
||||
|
||||
- name: Changelog Parser
|
||||
id: changelog
|
||||
@@ -28,9 +28,10 @@ jobs:
|
||||
- name: Set the version
|
||||
run: |
|
||||
DEV=${{ steps.get_version.outputs.version }}
|
||||
sed -i -e "s/DEV/123/g" manifest.json
|
||||
sed -i -e "s/DEV/123/g" instance.cfg
|
||||
sed -i -e "s/DEV/123/g" .minecraft/config/fancymenu/customization/main_menu.txt
|
||||
echo $DEV
|
||||
sed -i -e "s/DEV/${DEV}/g" manifest.json
|
||||
sed -i -e "s/DEV/${DEV}/g" instance.cfg
|
||||
sed -i -e "s/DEV/${DEV}/g" .minecraft/config/fancymenu/customization/main_menu.txt
|
||||
|
||||
- name: Archive Release MMC
|
||||
run: zip -r TerraFirmaGreg-1.20-${{ steps.get_version.outputs.version }}-mmc.zip mmc-pack.json instance.cfg .minecraft/
|
||||
|
||||
Reference in New Issue
Block a user