Commit 42ab6ca5 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Update release infrastructure

parent 521f0a68
......@@ -53,7 +53,7 @@ build/asdf.lisp: $(all_lisp)
load: build/asdf.lisp
./test/ -t $l $(all_lisp)
install: archive-copy
install: archive
bump: bump-version
bump-version: build/asdf.lisp
......@@ -70,14 +70,6 @@ archive: build/asdf.lisp
# --eval "(rewrite-license)" --eval "(quit)"
./bin/asdf-builder make-and-publish-archive
archive-copy: archive build/asdf.lisp
git checkout release
bin/rsync-cp build/asdf*.tar.gz $(webhome_private)/archives
bin/link-tarball $(clnet_home)
bin/rsync-cp build/asdf.lisp $(webhome_private)
${MAKE} push
git checkout master
### Count lines separately for asdf-driver and asdf itself:
@wc $(driver_lisp) | sort -n ; echo ; \
......@@ -194,7 +186,7 @@ TODO:
release: TODO test-all test-on-other-machines-too debian-changelog debian-package send-mail-to-mailing-lists
.PHONY: install archive archive-copy push doc website clean mrproper \
.PHONY: install archive push doc website clean mrproper \
test-forward-references test test-lisp test-upgrade test-forward-references \
test-all test-all-lisps test-all-no-upgrade \
debian-package release \
......@@ -206,7 +198,7 @@ release: TODO test-all test-on-other-machines-too debian-changelog debian-packag
# make test-load-systems s=fare-all
# make bump v=3.0
# edit debian/changelog
# make release-push archive-copy website debian-package
# make release-push archive website debian-package
# dput mentors ../*.changes
# send debian mentors request
# send announcement to asdf-announce, asdf-devel, etc.
......@@ -159,8 +159,15 @@
(defun link-archive ()
(run `(ln -sf ,(tarname (driver-name))
(,*clnet-asdf-public* "archives/asdf-driver.tar.gz"))
(run (format nil "ln -sf ~S ~S ; ln -sf ~S ~S ; ln -sf ~S ~S ; ln -sf ~S ~S"
(tarname (driver-name))
(strcat *clnet-asdf-public* "archives/asdf-driver.tar.gz")
(tarname (asdf-defsystem-name))
(strcat *clnet-asdf-public* "archives/asdf-defsystem.tar.gz")
(tarname (asdf-git-name))
(strcat *clnet-asdf-public* "archives/asdf.tar.gz")
(strcat *clnet-asdf-public* "archives/asdf.lisp"))
:show t :host *clnet*)
if [ -n $1 ]; then
echo "Remote directory must be specified."
exit 2
if [ -n "$2" ]; then
echo "Remote username not specified"
echo "Assuming remote user is same as local"
echo "and/or you configured your .ssh/config with:"
echo "Host"
echo " User = foo"
tarball=`ls tmp/asdf*.tar.gz`
tarball=`basename $tarball`
echo "Link $tarball to $latest"
ssh ${user} "rm -f $clnet_home$latest; \
ln -s $clnet_home/archives/$tarball $clnet_home$latest"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment