Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhktan committed Feb 7, 2022
1 parent 2c5cf6e commit 8dceb76
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/jyut-dict/logic/utils/utils.h
Original file line number Diff line number Diff line change
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 = "0.20.0525";
constexpr auto CURRENT_VERSION = "1.22.0207";
constexpr auto AUTHOR_EMAIL = "mailto: [email protected]";
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_0.20.0525.tar.gz * --overwrite
tar -cvzf ../jyut-dict_1.22.0207.tar.gz * --overwrite

# Switch to src/ directory
cd ../

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

# Expand zip file into the folder
tar -xvzf ../jyut-dict_0.20.0525.tar.gz --overwrite
tar -xvzf ../jyut-dict_1.22.0207.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_0.20.0525.tar.gz -p jyut-dict_0.20.0525
dh_make -c mit -s -f ../jyut-dict_1.22.0207.tar.gz -p jyut-dict_1.22.0207

# 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 (1.22.0207) bionic; urgency=medium

* See examples with their definitions.
* Added words.hk, Unihan, Kaifangcidian, Two Shores Three Places dictionaries.
* Bug fixes.

-- Aaron Tan <[email protected]> Mon, 7 Feb 2022 04:44:25 -0400

jyut-dict (0.20.0525-1) bionic; urgency=medium

* New version!
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_0.20.0525-1_amd64.ddeb debug optional
jyut-dict_0.20.0525-1_amd64.buildinfo utils optional
jyut-dict_0.20.0525-1_amd64.deb utils optional
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
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>0.20.0525</string>
<string>1.22.0207</string>
<key>LSMinimumSystemVersion</key>
<string>10.12</string>
<key>LSBackgroundOnly</key>
Expand Down

0 comments on commit 8dceb76

Please sign in to comment.