Prepare 0.5.17-pre.5
All checks were successful
/ deny (push) Successful in 10s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m52s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m52s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m48s
/ clippy (push) Successful in 2m20s
/ tests (push) Successful in 2m23s
/ publish-docker (push) Successful in 11s
/ publish-forgejo (push) Successful in 14s
/ publish-crate (push) Successful in 1m51s
/ build (map[artifact:linux-amd64 platform:linux/amd64 target:x86_64-unknown-linux-musl]) (push) Successful in 5m35s
/ build (map[artifact:linux-arm32v7 platform:linux/arm/v7 target:armv7-unknown-linux-musleabihf]) (push) Successful in 5m38s
/ build (map[artifact:linux-arm64v8 platform:linux/arm64 target:aarch64-unknown-linux-musl]) (push) Successful in 3m30s

This commit is contained in:
asonix 2024-07-21 11:49:22 -05:00
parent fb80f77136
commit 5a9a0b16fc
5 changed files with 18 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1955,7 +1955,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.5.17-pre.4"
version = "0.5.17-pre.5"
dependencies = [
"actix-form-data",
"actix-web",

View file

@ -1,7 +1,7 @@
[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.5.17-pre.4"
version = "0.5.17-pre.5"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -11,7 +11,7 @@
rustPlatform.buildRustPackage {
pname = "pict-rs";
version = "0.5.17-pre.4";
version = "0.5.17-pre.5";
src = ./.;
cargoLock = {

14
releases/0.5.17-pre.5.md Normal file
View file

@ -0,0 +1,14 @@
# pict-rs 0.5.17-pre.5
pict-rs is a simple image hosting microservice, designed to handle storing and retrieving images,
animations, and videos, as well as providing basic image processing functionality.
## Overview
pict-rs 0.5.17-pre.5 fixes a bug in missing variant detection introduced in -pre.4 that made the
feature essentially do nothing.
## Upgrade Notes
There are no significant changes from 0.5.17-pre.4. Upgrading should be as simple as pulling a new
version of pict-rs.

View file

@ -868,7 +868,7 @@ async fn existing_variant_identifier<S: Store>(
if !exists(&state.store, &identifier).await? {
let clean =
if let Some(original_identifier) = state.repo.identifier(hash.clone()).await? {
!exists(&state.store, &original_identifier).await?
exists(&state.store, &original_identifier).await?
} else {
true
};