Skip to content

Commit ee06368

Browse files
committed
Release automation script for copying lots of files consistently
Also include soundset edit that @CyanSMP64 implemented.
1 parent e41f2f4 commit ee06368

File tree

5 files changed

+34
-2
lines changed

5 files changed

+34
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Super Mario Paint
22
==========
3-
* Current Version: 1.4.3 (prerelease)
3+
* Current Version: 1.4.3
44

55
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.
66

@@ -15,7 +15,7 @@ Accepting cryptocurrency donations!
1515
Major Releases:
1616
-----
1717
See "Version History.txt" for semantic versioning and more release notes.
18-
* October 17, 2021 - v1.4.3 release with more backend upgrades and Java9+ support
18+
* October 17-19, 2021 - v1.4.3 release with more backend upgrades and Java9+ support with release automation scripts
1919
* June 24, 2020 - v1.4.2 release with more backend upgrades
2020
* June 7, 2020 - v1.4.1 release with some backend upgrades carried over from v1.3.0
2121
* June 2, 2020 - v1.4.0 release 'Giant Mario Paint', second major functionality upgrade

SMP_Release.bat

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
@echo on
2+
set version=1.4.3
3+
set t=Super Mario Paint
4+
title %t% %version% Release Script
5+
6+
7+
set src_folder=%cd%
8+
set dst_folder=%cd%\Versions\SMP%version%
9+
10+
11+
if exist dst_folder echo DIR_EXISTS
12+
else MKDIR dst_folder
13+
robocopy "%src_folder%\sprites" "%dst_folder%\sprites" /MIR /s /e
14+
robocopy "%src_folder%\jfx11" "%dst_folder%\jfx11" /MIR /s /e
15+
16+
17+
for /f "tokens=*" %%i in (flist.txt) DO (
18+
xcopy "%src_folder%\%%i" "%dst_folder%" /Y
19+
)
20+
21+
xcopy "%src_folder%\SMPv%version%.jar" "%dst_folder%" /Y
22+
pause

flist.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
KNOWN BUGS.txt
2+
LICENSE.txt
3+
MainWindow.fxml
4+
OptionsWindow.fxml
5+
README.md
6+
SMP_J1_8.bat
7+
SMP_J9.bat
8+
soundset3.sf2
9+
mpcv2.sf2
10+
Version History.txt

jfx11.zip

10 MB
Binary file not shown.

soundset3.sf2

-14.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)