summaryrefslogtreecommitdiffstats
path: root/makesrc.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-08-05 13:00:08 +0200
committerRemi Collet <remi@php.net>2025-08-05 13:00:08 +0200
commitcf96b7472226cf1cf54b99935ba66a129ee15b57 (patch)
tree736ac4d90951658db282f3ce9c330ba9b79f416a /makesrc.sh
parent00f941c88b62713a67074add2558024050b79a11 (diff)
use %{forgesource}HEADmaster
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-xmakesrc.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/makesrc.sh b/makesrc.sh
deleted file mode 100755
index 1a12fe7..0000000
--- a/makesrc.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-NAME=$(basename $PWD)
-OWNER=$(sed -n '/^%global gh_vend/{s/.* //;p}' $NAME.spec)
-PROJECT=$(sed -n '/^%global gh_proj/{s/.* //;p}' $NAME.spec)
-VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec)
-
-echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n"
-
-echo "Cloning..."
-rm -rf $PROJECT-$VERSION
-git clone --branch $VERSION --recursive https://github.com/$OWNER/$PROJECT.git $PROJECT-$VERSION
-
-echo "Archiving..."
-tar czf $NAME-$VERSION.tgz --exclude-vcs $PROJECT-$VERSION
-
-echo "Cleaning..."
-rm -rf $PROJECT-$VERSION
-
-echo "Done."