Skip to content

Commit

Permalink
Update preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xikaro committed Nov 16, 2023
1 parent eea24bf commit 2a61a87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 2a61a87

Please sign in to comment.