forked from srbala/fedora-kickstarts
Have make use tags to name tar ball
This commit is contained in:
parent
ad3a0c5f57
commit
1565631961
6
Makefile
6
Makefile
@ -1,5 +1,7 @@
|
||||
all: dist
|
||||
|
||||
clean:
|
||||
rm -f spin-kickstarts.tar.gz
|
||||
rm -f spin-kickstarts-*.tar.gz
|
||||
|
||||
dist:
|
||||
git archive --format=tar --prefix=spin-kickstarts HEAD | gzip > spin-kickstarts.tar.gz
|
||||
git archive --format=tar --prefix=spin-kickstarts-`git tag --points-at HEAD` HEAD | gzip > spin-kickstarts.tar-`git tag --points-at HEAD`.gz
|
||||
|
7
README
7
README
@ -13,8 +13,11 @@ git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
|
||||
cd spin-kickstarts
|
||||
# If you need a specific branch other than master:
|
||||
git checkout BRANCHNAME
|
||||
make dist
|
||||
# No tag has been added yet tag HEAD with
|
||||
git tag VERSION
|
||||
git push tag VERSION
|
||||
make
|
||||
# Publish the released tar ball
|
||||
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
|
||||
# Clean up the generated files:
|
||||
git clean -f -d
|
||||
make clean
|
||||
|
Loading…
Reference in New Issue
Block a user