Commit fd720afa authored by sumpfralle's avatar sumpfralle

added a directory for released archive files

improved Makefile to commit the archives as well
added a note to the release information


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@197 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 57b64636
...@@ -4,6 +4,8 @@ SVN_BASE = https://pycam.svn.sourceforge.net/svnroot/pycam ...@@ -4,6 +4,8 @@ SVN_BASE = https://pycam.svn.sourceforge.net/svnroot/pycam
RELEASE_PREFIX = pycam- RELEASE_PREFIX = pycam-
EXPORT_DIR = $(RELEASE_PREFIX)$(VERSION) EXPORT_DIR = $(RELEASE_PREFIX)$(VERSION)
EXPORT_FILE_PREFIX = $(EXPORT_DIR) EXPORT_FILE_PREFIX = $(EXPORT_DIR)
EXPORT_ZIP = "$(EXPORT_FILE_PREFIX).zip"
EXPORT_TGZ = "$(EXPORT_FILE_PREFIX).tar.gz"
.PHONY: zip tgz svn_export tag .PHONY: zip tgz svn_export tag
...@@ -19,11 +21,13 @@ svn_export: clean ...@@ -19,11 +21,13 @@ svn_export: clean
svn export --quiet "$(SVN_BASE)/trunk" "$(EXPORT_DIR)" svn export --quiet "$(SVN_BASE)/trunk" "$(EXPORT_DIR)"
zip: svn_export zip: svn_export
zip -9rq "$(EXPORT_FILE_PREFIX).zip" "$(EXPORT_DIR)" zip -9rq "$(EXPORT_ZIP)" "$(EXPORT_DIR)"
tgz: svn_export tgz: svn_export
tar czf "$(EXPORT_FILE_PREFIX).tar.gz" "$(EXPORT_DIR)" tar czf "$(EXPORT_TGZ)" "$(EXPORT_DIR)"
tag: tag:
svn cp "$(SVN_BASE)/trunk" "$(SVN_BASE)/tags/release-$(VERSION)" svn cp "$(SVN_BASE)/trunk" "$(SVN_BASE)/tags/release-$(VERSION)" -m "tag release $(VERSION)"
svn import "$(EXPORT_ZIP)" "$(SVN_BASE)/tags/archives/" -m "added released zip file for version $(VERSION)"
svn import "$(EXPORT_TGZ)" "$(SVN_BASE)/tags/archives/" -m "added released tgz file for version $(VERSION)"
...@@ -5,8 +5,9 @@ ...@@ -5,8 +5,9 @@
2) create the archives 2) create the archives
- VERSION=0.2 make dist - VERSION=0.2 make dist
- carefully check the resulting content of the archives
3) create an svn tag for the release 3) create an svn tag for the release (includes uploading the archive files)
- VERSION=0.2 make tag - VERSION=0.2 make tag
4) upload files to sourceforge 4) upload files to sourceforge
......
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