Skip to content

Commit

Permalink
v1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
manongjohn committed Jul 30, 2024
1 parent e9aa4b3 commit e3d0640
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ body:
label: Software Version
description: What version of the software are you running?
options:
- 1.4.3
- 1.4.4
- Nightly (Specify below)
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.4.3{build}
version: 1.4.4{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
Expand Down
2 changes: 1 addition & 1 deletion ci-scripts/osx/tahoma-buildpkg.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
export TAHOMA2DVERSION=1.4.3
export TAHOMA2DVERSION=1.4.4

if [ -d /usr/local/Cellar/qt@5 ]
then
Expand Down
4 changes: 2 additions & 2 deletions toonz/cmake/BundleInfo.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.3</string>
<string>1.4.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.4.3</string>
<string>1.4.4</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
4 changes: 2 additions & 2 deletions toonz/installer/windows/setup.iss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
; Script generated by the Inno Setup Script Wizard.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Tahoma2D"
#define MyAppVersion "1.4.3"
#define MyAppVersion "1.4.4"
#define MyAppPublisher "Tahoma2D"
#define MyAppURL "https://tahoma2d.org/"
#define MyAppExeName "Tahoma2D.exe"
Expand Down
2 changes: 1 addition & 1 deletion toonz/sources/include/tversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ToonzVersion {
private:
const char *applicationName = "Tahoma2D";
const float applicationVersion = 1.4f;
const float applicationRevision = 3;
const float applicationRevision = 4;
const char *applicationNote = "";
};

Expand Down
2 changes: 1 addition & 1 deletion toonz/sources/toonz/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(VERSION 1.4.3)
set(VERSION 1.4.4)

set(MOC_HEADERS
aboutpopup.h
Expand Down
1 change: 1 addition & 0 deletions toonz/sources/xdg-data/org.tahoma2d.Tahoma2D.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
<release version="1.4.4" date="2024-08-01"/>
<release version="1.4.3" date="2024-06-02"/>
<release version="1.4.2" date="2024-04-02"/>
<release version="1.4.1" date="2024-02-01"/>
Expand Down
65 changes: 65 additions & 0 deletions updateVersion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/bin/bash

OLDVERSION=$1
NEWVERSION=$2
RELEASEDATE=$3

# .github/ISSUE_TEMPLATE/bug_report.yml
dos2unix .github/ISSUE_TEMPLATE/bug_report.yml
sed -e"s/ - $OLDVERSION/ - $NEWVERSION/" -e "s/ - Nightly.*$/&\n - $OLDVERSION/" .github/ISSUE_TEMPLATE/bug_report.yml >| tmp.txt
unix2dos tmp.txt
mv tmp.txt .github/ISSUE_TEMPLATE/bug_report.yml

# appveyor.yml
dos2unix appveyor.yml
sed -e"s/$OLDVERSION/$NEWVERSION/" appveyor.yml >| tmp.txt
unix2dos tmp.txt
mv tmp.txt appveyor.yml

# ci-scripts/osx/tahoma-buildpkg.sh
dos2unix ci-scripts/osx/tahoma-buildpkg.sh
sed -e"s/$OLDVERSION/$NEWVERSION/" ci-scripts/osx/tahoma-buildpkg.sh >| tmp.txt
unix2dos tmp.txt
mv tmp.txt ci-scripts/osx/tahoma-buildpkg.sh

# toonz/cmake/BundleInfo.plist.in
dos2unix toonz/cmake/BundleInfo.plist.in
sed -e"s/$OLDVERSION/$NEWVERSION/" toonz/cmake/BundleInfo.plist.in >| tmp.txt
unix2dos tmp.txt
mv tmp.txt toonz/cmake/BundleInfo.plist.in

# toonz/installer/windows/setup.iss
dos2unix toonz/installer/windows/setup.iss
sed -e"s/$OLDVERSION/$NEWVERSION/" toonz/installer/windows/setup.iss >| tmp.txt
unix2dos tmp.txt
mv tmp.txt toonz/installer/windows/setup.iss

# toonz/sources/include/tversion.h
OLDMINOR=`echo $OLDVERSION | cut -c 3`
NEWMINOR=`echo $NEWVERSION | cut -c 3`
OLDFIX=`echo $OLDVERSION | cut -c 5`
if [ "$OLDFIX" = "" ]
then
OLDFIX="0"
fi
NEWFIX=`echo $NEWVERSION | cut -c 5`
if [ "$NEWFIX" = "" ]
then
NEWFIX="0"
fi
dos2unix toonz/sources/include/tversion.h
sed -e"s/applicationVersion = 1.$OLDMINOR/applicationVersion = 1.$NEWMINOR/" -e"s/applicationRevision = $OLDFIX/applicationRevision = $NEWFIX/" toonz/sources/include/tversion.h >| tmp.txt
unix2dos tmp.txt
mv tmp.txt toonz/sources/include/tversion.h

# toonz/sources/toonz/CMakeLists.txt
dos2unix toonz/sources/toonz/CMakeLists.txt
sed -e"s/$OLDVERSION/$NEWVERSION/" toonz/sources/toonz/CMakeLists.txt >| tmp.txt
unix2dos tmp.txt
mv tmp.txt toonz/sources/toonz/CMakeLists.txt

# toonz/sources/xdg-data/org.tahoma2d.Tahoma2D.metainfo.xml
dos2unix toonz/sources/xdg-data/org.tahoma2d.Tahoma2D.metainfo.xml
sed -e "s/ <release version=\"$OLDVERSION\"/ <release version=\"$NEWVERSION\" date=\"$RELEASEDATE\"\/>\n&/" toonz/sources/xdg-data/org.tahoma2d.Tahoma2D.metainfo.xml >| tmp.txt
unix2dos tmp.txt
mv tmp.txt toonz/sources/xdg-data/org.tahoma2d.Tahoma2D.metainfo.xml

0 comments on commit e3d0640

Please sign in to comment.