Skip to content

Commit

Permalink
Release automation script for copying lots of files consistently
Browse files Browse the repository at this point in the history
Also include soundset edit that @CyanSMP64 implemented.
  • Loading branch information
DC37 committed Oct 20, 2021
1 parent e41f2f4 commit ee06368
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Super Mario Paint
==========
* Current Version: 1.4.3 (prerelease)
* Current Version: 1.4.3

Help would be very much appreciated! If you manage to debug something, submit a pull request and I'll review it and (hopefully) merge it in.

Expand All @@ -15,7 +15,7 @@ Accepting cryptocurrency donations!
Major Releases:
-----
See "Version History.txt" for semantic versioning and more release notes.
* October 17, 2021 - v1.4.3 release with more backend upgrades and Java9+ support
* October 17-19, 2021 - v1.4.3 release with more backend upgrades and Java9+ support with release automation scripts
* June 24, 2020 - v1.4.2 release with more backend upgrades
* June 7, 2020 - v1.4.1 release with some backend upgrades carried over from v1.3.0
* June 2, 2020 - v1.4.0 release 'Giant Mario Paint', second major functionality upgrade
Expand Down
22 changes: 22 additions & 0 deletions SMP_Release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@echo on
set version=1.4.3
set t=Super Mario Paint
title %t% %version% Release Script


set src_folder=%cd%
set dst_folder=%cd%\Versions\SMP%version%


if exist dst_folder echo DIR_EXISTS
else MKDIR dst_folder
robocopy "%src_folder%\sprites" "%dst_folder%\sprites" /MIR /s /e
robocopy "%src_folder%\jfx11" "%dst_folder%\jfx11" /MIR /s /e


for /f "tokens=*" %%i in (flist.txt) DO (
xcopy "%src_folder%\%%i" "%dst_folder%" /Y
)

xcopy "%src_folder%\SMPv%version%.jar" "%dst_folder%" /Y
pause
10 changes: 10 additions & 0 deletions flist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
KNOWN BUGS.txt
LICENSE.txt
MainWindow.fxml
OptionsWindow.fxml
README.md
SMP_J1_8.bat
SMP_J9.bat
soundset3.sf2
mpcv2.sf2
Version History.txt
Binary file added jfx11.zip
Binary file not shown.
Binary file modified soundset3.sf2
Binary file not shown.

0 comments on commit ee06368

Please sign in to comment.