public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ImageMagick] epel9: Fix Packit tag mapping for ImageMagick 6
@ 2026-09-17 23:48 Luya Tshimbalanga
  0 siblings, 0 replies; only message in thread
From: Luya Tshimbalanga @ 2026-09-17 23:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ImageMagick
Branch : epel9
Commit : e250d96a40b89b192eaa614ef7f3b698e6ab8729
Author : Luya Tshimbalanga <luya@fedoraproject.org>
Date   : 2026-09-17T16:47:08-07:00
Stats  : +12/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ImageMagick/c/e250d96a40b89b192eaa614ef7f3b698e6ab8729?branch=epel9

Log:
Fix Packit tag mapping for ImageMagick 6

---
diff --git a/packit.yaml b/packit.yaml
index 883027e..efb797c 100644
--- a/packit.yaml
+++ b/packit.yaml
@@ -1,3 +1,15 @@
+actions:
+  post-upstream-clone:
+    - >-
+      bash -c 'case "$PACKIT_PROJECT_VERSION" in
+      6.*.*.*) ;;
+      *) echo "Expected ImageMagick 6 version, got $PACKIT_PROJECT_VERSION" >&2; exit 1 ;;
+      esac;
+      upstream_tag="${PACKIT_PROJECT_VERSION%.*}-${PACKIT_PROJECT_VERSION##*.}";
+      git rev-parse --verify "refs/tags/${upstream_tag}^{commit}" >/dev/null ||
+      { echo "Missing upstream tag ${upstream_tag}" >&2; exit 1; };
+      git tag "$PACKIT_PROJECT_VERSION" "$upstream_tag"'
+
 # ImageMagick 6 release configuration for the EPEL 9 and EPEL 8 branches.
 #
 # Packit Service ignores configuration outside the default Rawhide branch.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 23:48 [rpms/ImageMagick] epel9: Fix Packit tag mapping for ImageMagick 6 Luya Tshimbalanga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox