Skip to content

Commit

Permalink
Merge pull request #118 from gameknife/dev
Browse files Browse the repository at this point in the history
New Release Script, New sample file
  • Loading branch information
gameknife authored Nov 26, 2024
2 parents 6ca1082 + fb17d8b commit d8e5acc
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release_magicalego.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ jobs:
run: |
set VULKAN_SDK=C:\VulkanSDK\%SDK_VERSION%
echo BUILDVER(${{ github.ref_name }}) > src/build.version
build_windows_magicalego.bat ${{ github.ref_name }}
package_magicalego.bat ${{ github.ref_name }}
shell: cmd
- name: Create zip file
run: |
package_magicalego.bat
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
Expand Down
Binary file added assets/legos/diorama.mls
Binary file not shown.
Binary file added assets/legos/diorama1.mls
Binary file not shown.
Binary file added assets/legos/diorama2.mls
Binary file not shown.
Binary file added assets/legos/diorama3.mls
Binary file not shown.
Binary file removed assets/legos/shang_025.mls
Binary file not shown.
2 changes: 1 addition & 1 deletion package_magicalego.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ popd

pushd %CD%
cd build/windows
tar -a -cf "MagicaLego_win64_%1.zip" ./bin/MagicaLego.exe ./bin/ffmpeg.exe ./bin/vulkan-1.dll ./assets/legos ./assets/sfx ./assets/paks ./assets/locale ./assets/fonts ./assets/models/legobricks.glb
zip -r "MagicaLego_win64_%1.zip" ./bin/MagicaLego.exe ./bin/ffmpeg.exe ./bin/vulkan-1.dll ./assets/legos ./assets/sfx ./assets/paks ./assets/locale ./assets/fonts ./assets/models/legobricks.glb
move /Y "MagicaLego_win64_%1.zip" ..\..\
popd

0 comments on commit d8e5acc

Please sign in to comment.