We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd7f53 commit cb96025Copy full SHA for cb96025
release/git-release-head.sh
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+#VERSION=$(git describe)
3
+VERSION=$(git tag -l | tail -1)
4
+DISTNAME=php-slurm
5
+DISTFILE=$DISTNAME-$VERSION
6
+
7
+git archive --format tar --prefix $DISTFILE/ HEAD | bzip2 -c > $DISTFILE.tar.bz2
8
+rpmbuild -ts $DISTFILE.tar.bz2
release/git-release.sh
@@ -0,0 +1,7 @@
+git archive --format tar --prefix $DISTFILE/ $VERSION | bzip2 -c > $DISTFILE.tar.bz2
0 commit comments