Skip to content

Commit

Permalink
Prepare pushing a new release of the tool in order to include minor f…
Browse files Browse the repository at this point in the history
…ixes, as suggested in issue #48
  • Loading branch information
marin-m committed Jun 1, 2021
1 parent 69ef639 commit 10d6595
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 12 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.1.7"
version = "0.1.8"
authors = ["marin-m"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions packaging/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgname=songrec
_pkgname=SongRec
pkgver=0.1.7
pkgrel=2
pkgver=0.1.8
pkgrel=1
provides=('songrec')
conflicts=('songrec-git')
pkgdesc='An open-source, unofficial Shazam client for Linux, written in Rust.'
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.1.7"
cp -ra ../../ "${temp_dir}/songrec-0.1.8"

cd "${temp_dir}/songrec-0.1.7"
cd "${temp_dir}/songrec-0.1.8"

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

* Include a "Cargo.lock" file in the project so that it can be accepted in certain packaging systems that require freezing Rust dependencies to a known subversion.
* Change the locale sent in HTTP requests to avoid to display internationalized song titles, in certain cases.
* Fix a minor typo in the algorithm implementation that shouldn't impact recognition.
* Improve portability.

-- Marin <[email protected]> Fri, 01 Jun 2021 14:38:00 +0200

songrec (0.1.7) bionic; urgency=low

* Display a clean "Shazam servers are not reachable, are you connected?" message on the GUI when the computer has been offline, rather than showing low-level errors.
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 groovy hirsute gorilla; do
for version in bionic focal groovy hirsute impish; do

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

cp -ra ../../ "${temp_dir}/songrec-0.1.7${version}"
cp -ra ../../ "${temp_dir}/songrec-0.1.8${version}"

cd "${temp_dir}/songrec-0.1.7${version}"
cd "${temp_dir}/songrec-0.1.8${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 groovy hirsute gorilla; do

# Push to Launchpad

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

cd "${ORIG_DIR}"

rm -rf "${temp_dir}/songrec-0.1.7${version}"
rm -rf "${temp_dir}/songrec-0.1.8${version}"

done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ https://hughsie.github.io/oars/index.html
-->
<content_rating type="oars-1.0" />
<releases>
<release version="0.1.8" date="2021-06-01">
<description>
<p>- Include a "Cargo.lock" file in the project so that it can be accepted in certain packaging systems that require freezing Rust dependencies to a known subversion.</p>
<p>- Change the locale sent in HTTP requests to avoid to display internationalized song titles, in certain cases.</p>
<p>- Fix a minor typo in the algorithm implementation that shouldn't impact recognition.</p>
<p>- Improve portability.</p>
</description>
</release>
<release version="0.1.7" date="2021-04-09">
<description>
<p>- Display a clean "Shazam servers are not reachable, are you connected?" message on the GUI when the computer has been offline, rather than showing low-level errors.</p>
Expand Down
2 changes: 1 addition & 1 deletion packaging/snap/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.1.7' # just for humans, typically '1.2+git' or '1.3.2'
version: '0.1.8' # 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

0 comments on commit 10d6595

Please sign in to comment.