Skip to content

Commit

Permalink
Resolve #119: Update version number in code, scripts, docs (#123)
Browse files Browse the repository at this point in the history
This commit sets the version number to 2.23.0408 across all documents and code.
  • Loading branch information
aaronhktan authored Apr 8, 2023
1 parent 6bfbf6b commit 7b630d3
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Aaron Tan
Copyright (c) 2023 Aaron Tan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/jyut-dict/logic/utils/utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UTILS_H
#define UTILS_H

#include "logic/strings/strings.h"
#include <qglobal.h>

#include <string>
#include <vector>
Expand Down Expand Up @@ -59,7 +59,7 @@ namespace Utils {

// Strings that are not language dependent should go here.
// If they need to be translated, put them in strings.h
constexpr auto CURRENT_VERSION = "1.22.0207";
constexpr auto CURRENT_VERSION = "2.23.0408";
constexpr auto AUTHOR_EMAIL = "mailto: hi@aaronhktan.com";
constexpr auto DONATE_LINK = "https://www.paypal.me/cheeseisdisgusting";
constexpr auto AUTHOR_GITHUB_LINK = "https://github.com/aaronhktan/";
Expand Down
12 changes: 6 additions & 6 deletions src/jyut-dict/platform/linux/deb/create-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

# Zip up entirety of src/jyut-dict into a zip beside jyut-dict
cd ../../../
tar -cvzf ../jyut-dict_1.22.0207.tar.gz * --overwrite
tar -cvzf ../jyut-dict_2.23.0408.tar.gz * --overwrite

# Switch to src/ directory
cd ../

# Create folder matching current version of jyut-dict
rm -rf jyut-dict_1.22.0207
mkdir jyut-dict_1.22.0207
cd jyut-dict_1.22.0207
rm -rf jyut-dict_2.23.0408
mkdir jyut-dict_2.23.0408
cd jyut-dict_2.23.0408

# Expand zip file into the folder
tar -xvzf ../jyut-dict_1.22.0207.tar.gz --overwrite
tar -xvzf ../jyut-dict_2.23.0408.tar.gz --overwrite

# Delete unneeded files copied by make
rm ./dict.db
Expand All @@ -24,7 +24,7 @@ cp -r ../jyut-dict/platform/linux/deb/debian ./debian

# Creates an orig tar.gz file required for debuild
# Also creates generic debian/ folder structure if previous command failed
dh_make -c mit -s -f ../jyut-dict_1.22.0207.tar.gz -p jyut-dict_1.22.0207
dh_make -c mit -s -f ../jyut-dict_2.23.0408.tar.gz -p jyut-dict_2.23.0408

# Generate the .deb file.
debuild
8 changes: 8 additions & 0 deletions src/jyut-dict/platform/linux/deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
jyut-dict (2.23.0408) bionic; urgency=medium

* Support for Yale, Bopomofo, and IPA.
* Adjust interface size.
* Bug fixes.

-- Aaron Tan <hi@aaronhktan.com> Sat, 8 Apr 2022 16:44:11 -0400

jyut-dict (1.22.0207) bionic; urgency=medium

* See examples with their definitions.
Expand Down
6 changes: 3 additions & 3 deletions src/jyut-dict/platform/linux/deb/debian/files
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jyut-dict-dbgsym_1.22.0207-1_amd64.ddeb debug optional
jyut-dict_1.22.0207-1_amd64.buildinfo utils optional
jyut-dict_1.22.0207-1_amd64.deb utils optional
jyut-dict-dbgsym_2.23.0408-1_amd64.ddeb debug optional
jyut-dict_2.23.0408-1_amd64.buildinfo utils optional
jyut-dict_2.23.0408-1_amd64.deb utils optional
2 changes: 1 addition & 1 deletion src/jyut-dict/platform/mac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.22.0207</string>
<string>2.23.0408</string>
<key>LSMinimumSystemVersion</key>
<string>10.12</string>
<key>LSBackgroundOnly</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Jyut Dictionary</Name>
<Version>2022-02-07</Version>
<Version>2023-04-08</Version>
<Title>Jyut Dictionary</Title>
<Publisher>Aaron Tan</Publisher>
<StartMenuDir>Jyut Dictionary</StartMenuDir>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Jyut Dictionary</Name>
<Version>2022-02-07</Version>
<Version>2023-04-08</Version>
<Title>Jyut Dictionary</Title>
<Publisher>Aaron Tan</Publisher>
<StartMenuDir>Jyut Dictionary</StartMenuDir>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Aaron Tan
Copyright (c) 2023 Aaron Tan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<Description xml:lang="zh_CN">粤语词典软件。</Description>
<Description xml:lang="zh_HK">粵語辭典軟件。</Description>
<Description xml:lang="zh_TW">粵語辭典軟件。</Description>
<Version>2022.02.07</Version>
<ReleaseDate>2022-02-07</ReleaseDate>
<Version>2023.04.08</Version>
<ReleaseDate>2023-04-08</ReleaseDate>
<Licenses>
<License name="MIT License" file="LICENSE.md" />
</Licenses>
Expand Down

0 comments on commit 7b630d3

Please sign in to comment.