Skip to content

Commit

Permalink
Prepare updating to release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-m committed Oct 4, 2021
1 parent 6234a60 commit 1f904ca
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/marin-m/SongRec"
readme = "README.md"
keywords = ["shazam", "audio", "audio-fingerprinting"]
categories = ["multimedia::audio", "command-line-utilities"]
version = "0.2.0"
version = "0.2.1"
authors = ["marin-m"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions packaging/ppa/build_binary_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ trap cleanup_dirs INT TERM

rm -rf ../../target/ ../../vendor/ ../../.flatpak-builder ../flatpak/.flatpak-builder ../../repo

cp -ra ../../ "${temp_dir}/songrec-0.2.0"
cp -ra ../../ "${temp_dir}/songrec-0.2.1"

cd "${temp_dir}/songrec-0.2.0"
cd "${temp_dir}/songrec-0.2.1"

mkdir -p .cargo
cargo vendor --locked vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config
Expand Down
7 changes: 7 additions & 0 deletions packaging/ppa/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
songrec (0.2.1) bionic; urgency=low

* Don't crash when there is no input device available on the host machine.
* Update the Dutch translation.

-- Marin <[email protected]> Mon, 04 Oct 2021 07:12:00 +0200

songrec (0.2.0) bionic; urgency=low

* Add Japanese and Italian translations.
Expand Down
8 changes: 4 additions & 4 deletions packaging/ppa/upload_source_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ for version in bionic focal hirsute impish; do

rm -rf ../../target/ ../../vendor/ ../../.flatpak-builder ../flatpak/.flatpak-builder ../../repo ../../.cargo

cp -ra ../../ "${temp_dir}/songrec-0.2.0${version}"
cp -ra ../../ "${temp_dir}/songrec-0.2.1${version}"

cd "${temp_dir}/songrec-0.2.0${version}"
cd "${temp_dir}/songrec-0.2.1${version}"

mkdir -p .cargo
cargo vendor --locked vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config
Expand All @@ -49,11 +49,11 @@ for version in bionic focal hirsute impish; do

# Push to Launchpad

dput ppa:marin-m/songrec "../../songrec_0.2.0${version}_source.changes"
dput ppa:marin-m/songrec "../../songrec_0.2.1${version}_source.changes"

cd "${ORIG_DIR}"

rm -rf "${temp_dir}/songrec-0.2.0${version}"
rm -rf "${temp_dir}/songrec-0.2.1${version}"

done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ https://hughsie.github.io/oars/index.html
-->
<content_rating type="oars-1.0" />
<releases>
<release version="0.2.1" date="2021-10-04">
<description>
<p>- Don't crash when there is no input device available on the host machine.</p>
<p>- Update the Dutch translation.</p>
</description>
</release>
<release version="0.2.0" date="2021-08-27">
<description>
<p>- Add Japanese and Italian translations.</p>
Expand Down
2 changes: 1 addition & 1 deletion packaging/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ GUIMode="2"
EOF
cat /tmp/songrec-files.7z >> /tmp/SongRec-standalone.exe
cp /tmp/SongRec-standalone.exe ~/win32/ # Copy the generated executable to my ViirtualBox shared folder
cp /tmp/SongRec-standalone.exe ~/win32/ # Copy the generated executable to my VirtualBox shared folder
# wine /tmp/SongRec-standalone.exe
Expand Down

0 comments on commit 1f904ca

Please sign in to comment.