Skip to content

Commit cb96025

Browse files
author
Jimmy Tang
committed
Move some maint. scripts out of the way
1 parent ddd7f53 commit cb96025

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

release/git-release-head.sh

+8
Original file line numberDiff line numberDiff line change
@@ -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

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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/ $VERSION | bzip2 -c > $DISTFILE.tar.bz2

0 commit comments

Comments
 (0)