Skip to content

Commit

Permalink
Prepare the release of version 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-m committed Apr 22, 2022
1 parent 8e106e5 commit 0730c5b
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.3.0"
version = "0.3.1"
authors = ["marin-m"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sudo pacman -S songrec
songrec
```

Using apt with PPA (Ubuntu, supported 18.04, 20.04, 20.10, 21.04, 21.10):
Using apt with PPA (Ubuntu, supported 18.04, 20.04, 20.10, 21.04, 21.10, 22.04):

```bash
sudo apt-add-repository ppa:marin-m/songrec -y -u
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.3.0"
cp -ra ../../ "${temp_dir}/songrec-0.3.1"

cd "${temp_dir}/songrec-0.3.0"
cd "${temp_dir}/songrec-0.3.1"

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

* Fix the behavior of the new `recognize` command, when recognizing from a file.
* Add album artwork, if it exists, to the desktop notification when a song is recognized (thanks to @damonhayhurst).
* Update the Dutch translation (thanks to @Vistaus).

-- Marin <[email protected]> Fri, 22 Apr 2022 09:02:00 +0200

songrec (0.3.0) bionic; urgency=low

* Introduce a new command-line interface allowing to use microphone recognition from the command line, with the `recognize` and `listen` commands (thanks to @Hummer12007), keeping older command backwards compatibility.
* Update the CSV export format in order to introduce new "`track_key`", "`release_year`" and "`genre`" columns (thanks to @tyd), where `track_key` is an identifier internal to the Shazam database.
* Allow exposing song metadata through the standard DBus MPRIS interface (thanks to @Hummer12007).
* Improve source code structure in order to split the dual CLI/GUI parts from the core thread communication and fingerprinting parts and from other platform-dependant utility code.
* Update certain dependent crates to more recent minor versions, among other possible things in order to accept a higher LibreSSL version.
* Add the program version without the program help output (see the `-h` or `-V', `--version` options).
* Add the program version without the program help output (see the `-h` or `-V`, `--version` options).
* Add a Polish translation (thanks to @qarmin).
* Update the French translation according to recent changes.

Expand Down
10 changes: 5 additions & 5 deletions packaging/ppa/upload_source_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ function cleanup_dirs {

trap cleanup_dirs INT TERM

for version in bionic focal hirsute impish; do
for version in bionic focal hirsute impish jammy; do

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

cp -ra ../../ "${temp_dir}/songrec-0.3.0${version}"
cp -ra ../../ "${temp_dir}/songrec-0.3.1${version}"

cd "${temp_dir}/songrec-0.3.0${version}"
cd "${temp_dir}/songrec-0.3.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.3.0${version}_source.changes"
dput ppa:marin-m/songrec "../../songrec_0.3.1${version}_source.changes"

cd "${ORIG_DIR}"

rm -rf "${temp_dir}/songrec-0.3.0${version}"
rm -rf "${temp_dir}/songrec-0.3.1${version}"

done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ https://hughsie.github.io/oars/index.html
-->
<content_rating type="oars-1.0" />
<releases>
<release version="0.3.1" date="2022-04-22">
<description>
<p>- Fix the behavior of the new "recognize" command, when recognizing from a file.</p>
<p>- Add album artwork, if it exists, to the desktop notification when a song is recognized (thanks to @damonhayhurst).</p>
<p>- Update the Dutch translation (thanks to @Vistaus).</p>
</description>
</release>
<release version="0.3.0" date="2021-12-26">
<description>
<p>- Introduce a new command-line interface allowing to use microphone recognition from the command line, with the "recognize" and "listen" commands (thanks to @Hummer12007), keeping older command backwards compatibility.</p>
Expand Down
2 changes: 1 addition & 1 deletion packaging/snap-not-working/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: songrec # you probably want to 'snapcraft register <name>'
base: core20 # the base snap is the execution environment for this snap
version: '0.3.0' # just for humans, typically '1.2+git' or '1.3.2'
version: '0.3.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: An open-source, unofficial Shazam client for Linux, written in Rust # 79 char long summary
description: |
Features:
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use clap::{App, Arg};
macro_rules! base_app {
() => {
App::new("SongRec")
.version("0.3.0")
.version("0.3.1")
.about(gettext("An open-source Shazam client for Linux, written in Rust.").as_str())
.subcommand(
App::new("listen")
Expand Down

0 comments on commit 0730c5b

Please sign in to comment.