Compare commits

..

4 Commits
0.6 ... 0.6.2

Author SHA1 Message Date
Jason Chu
bd6a5df0ab Start tracking svnmerge info when we create a branch
I thought it was tracked by default
2008-04-09 12:23:11 -07:00
Aaron Griffin
ba6e6648e9 Copy only the HEAD revision when releasing
This prevents the copying of local files and only
copies versioned files

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08 01:53:18 -05:00
Aaron Griffin
d01f3d53e8 Add '64' suffix back to extrapkg
This was accidentally scrubbed, breaking 64bit uploads

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08 01:48:43 -05:00
Aaron Griffin
fd04791f5b archrelease modifications to auto-commit handling
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08 01:46:29 -05:00
2 changed files with 30 additions and 10 deletions

View File

@@ -1,19 +1,29 @@
#!/bin/bash
if [ "$1" = "" ]; then
echo "Usage: archrelease <repo>"
exit 1
echo "Usage: archrelease <repo>"
exit 1
fi
if [ ! -d ../repos/$1 ]; then
pushd ..
svn copy trunk ../repos/$1
popd
pushd ..
svn copy -r HEAD trunk repos/$1
svn commit -m "archrelease: new repo $1"
pushd repos/$1
svnmerge init
svn commit -F svnmerge-commit-message.txt
rm svnmerge-commit-message.txt
popd
popd
else
svnmerge merge ../repos/$1
svnmerge merge ../repos/$1
pushd ..
if [ -f trunk/svnmerge-commit-message.txt ]; then
svn commit -F trunk/svnmerge-commit-message.txt
rm trunk/svnmerge-commit-message.txt
else
echo "Nothing to commit"
fi
popd
fi
pushd ..
svn commit -F trunk/svnmerge-commit-message.txt
popd
rm svnmerge-commit-message.txt

View File

@@ -20,6 +20,16 @@ if [ ! -f PKGBUILD ]; then
exit 1
fi
# define staging areas based on architecture
if [ "$CARCH" = "i686" ]; then
suffix=''
elif [ "$CARCH" = "x86_64" ]; then
suffix='64'
else
echo "CARCH must be set to a recognized value!"
exit 1
fi
source PKGBUILD
pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.gz
oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz