unpack tar ball before uploading
This commit is contained in:
parent
576ec33d5a
commit
0963203bf0
4 changed files with 21 additions and 9 deletions
9
.bumpversion.cfg
Normal file
9
.bumpversion.cfg
Normal file
|
@ -0,0 +1,9 @@
|
|||
[bumpversion]
|
||||
current_version = 0.3.2
|
||||
tag = True
|
||||
commit = True
|
||||
|
||||
[bumpversion:file:configure.ac]
|
||||
|
||||
[bumpversion:file:guix.scm]
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
(define-public bloatrunner
|
||||
(package
|
||||
(name "bloatrunner")
|
||||
(version "0.3.1-git")
|
||||
(version "0.3.2-git")
|
||||
;; (source (git-checkout (url (dirname (current-filename)))))
|
||||
(source (local-file "../.." "guile-checkout"
|
||||
#:recursive? #t
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
WWWWWGWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
|
||||
W H W
|
||||
W O H O W
|
||||
W H K F K f K FFFF H W
|
||||
W H K F K f K F F H W
|
||||
W O BBBBBBBBBBBBBBBBBBBBBBBBBBHB O W -
|
||||
W H W
|
||||
W H W
|
||||
|
|
17
publish.in
17
publish.in
|
@ -17,18 +17,21 @@ if [ -f "$SOURCETAR" ]; then
|
|||
BASENAME="@PACKAGE@-@VERSION@"
|
||||
|
||||
echo releasing $BASENAME
|
||||
|
||||
butler push $SOURCETAR $ITCH_CHANNEL:source
|
||||
|
||||
TARBALL=$(guix pack -R -Sbloatrunner=bin -L .guix/modules bloatrunner)
|
||||
echo created $TARBALL
|
||||
TARGETNAME=/tmp/$BASENAME-linux-x86_64.tar.gz
|
||||
echo copy $TARBALL to $TARGETNAME
|
||||
rm -f $TARGETNAME
|
||||
cp $TARBALL $TARGETNAME
|
||||
if [ -f $TARBALL ]; then
|
||||
TARGETNAME=/tmp/bloatrunner
|
||||
echo unpack $TARBALL to $TARGETNAME
|
||||
rm -f $TARGETNAME
|
||||
mkdir -p $TARGETNAME
|
||||
|
||||
echo push $TARGETNAME
|
||||
butler push $TARGETNAME $ITCH_CHANNEL:linux-x86_64
|
||||
tar -xzvf $TARBALL -C $TARGETNAME
|
||||
|
||||
echo push $TARGETNAME
|
||||
butler push $TARGETNAME $ITCH_CHANNEL:linux-x86_64
|
||||
fi
|
||||
|
||||
else
|
||||
echo "No source tarball found"
|
||||
|
|
Loading…
Reference in a new issue