From fcb796828cc5331111c3d330954aa0f2129727e5 Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Wed, 10 Jan 2024 10:44:49 +0100
Subject: [PATCH] update versioning/tagging

---
 .woodpecker.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.woodpecker.yml b/.woodpecker.yml
index 5c5905e..e5a7769 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -18,7 +18,7 @@ steps:
       xbps-create -A x86_64 \
                   -H "$${CI_REPO_URL}" \
                   -l "$${LICENSE}" \
-                  -n "$${CI_REPO_NAME}-$${CI_COMMIT_TAG}" \
+                  -n "$${CI_REPO_NAME}-$${CI_COMMIT_TAG}_1" \
                   -m "$${CI_COMMIT_AUTHOR} <$${CI_COMMIT_AUTHOR_EMAIL}>" \
                   -s "$${SHORT_DESCRIPTION}" \
                   -c "$${CI_COMMIT_MESSAGE}" \
@@ -51,6 +51,6 @@ steps:
       - /etc/woodpecker/:/etc/woodpecker:ro
     commands: |
       export XBPS_TARGET_ARCH
-      mv $${CI_REPO_NAME}-$${CI_COMMIT_TAG}.x86_64.xbps /target
-      xbps-rindex -a /target/$${CI_REPO_NAME}-$${CI_COMMIT_TAG}.x86_64.xbps
-      xbps-rindex -S --signedby "$${CI_COMMIT_AUTHOR} <$${CI_COMMIT_AUTHOR_EMAIL}>" --privkey /etc/woodpecker/privkey.pem /target/$${CI_REPO_NAME}-$${CI_COMMIT_TAG}.x86_64.xbps
+      mv $${CI_REPO_NAME}-$${CI_COMMIT_TAG}_1.x86_64.xbps /target
+      xbps-rindex -a /target/$${CI_REPO_NAME}-$${CI_COMMIT_TAG}_1.x86_64.xbps
+      xbps-rindex -S --signedby "$${CI_COMMIT_AUTHOR} <$${CI_COMMIT_AUTHOR_EMAIL}>" --privkey /etc/woodpecker/privkey.pem /target/$${CI_REPO_NAME}-$${CI_COMMIT_TAG}_1.x86_64.xbps