public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ImageMagick] epel8: Correct ImageMagick 6 upstream tag mapping
@ 2026-09-18  7:21 Luya Tshimbalanga
  0 siblings, 0 replies; only message in thread
From: Luya Tshimbalanga @ 2026-09-18  7:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ImageMagick
Branch : epel8
Commit : c8ca9f0eaaabc606f318d8170a50b05ec08437d0
Author : Luya Tshimbalanga <luya@fedoraproject.org>
Date   : 2026-09-18T00:21:44-07:00
Stats  : +4/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ImageMagick/c/c8ca9f0eaaabc606f318d8170a50b05ec08437d0?branch=epel8

Log:
Correct ImageMagick 6 upstream tag mapping

---
diff --git a/packit.yaml b/packit.yaml
index efb797c..15a324f 100644
--- a/packit.yaml
+++ b/packit.yaml
@@ -1,15 +1,3 @@
-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.
@@ -18,6 +6,10 @@ actions:
 # these branches is configured by Rawhide's packit.yaml.
 
 upstream_project_url: https://github.com/ImageMagick/ImageMagick6
+
+# Convert RPM 6.9.13.56 into upstream tag 6.9.13-56.
+# This EPEL workflow must always receive an explicit dotted version.
+upstream_tag_template: '{version:.6}-{version[7]}{version[8]}'
 upstream_tag_include: '^6\..+$'
 upstream_tag_exclude: '^7\..+$'
 version_update_specifiers: '>=6, <7'

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

only message in thread, other threads:[~2026-09-18  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18  7:21 [rpms/ImageMagick] epel8: Correct ImageMagick 6 upstream tag mapping Luya Tshimbalanga

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