You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

  1. Tag your release:
    git tag -a <tag name> <commit SHA> -m "<message for the tag>" 
    push to origin:
    git push origin <tag name> -m "<tag description message>"

  2. Make a tarball and gzip:

    git archive -o /tmp/apache-hawq-src-<your release name>.tar --prefix=apache-hawq-src-<your release name>/ <your tag name>
    gzip <path of the tar>

    Then you have a .tar.gz file now
  3.  prepare SHA1, MD5 and ASC file from the tarball
    md5 apache-hawq-src-<your release name>.tar.gz > apache-hawq-src-<your release name>.tar.gz.md5

    shasum apache-hawq-src-<your release name>.tar.gz > apache-hawq-src-<your release name>.tar.gz.md5 

    gpg --detach-sign -a apache-hawq-src-<your release name>.tar.gz

    you should see all 4 files:

    -rw-r--r-- 1 tyao wheel 31M Jan 20 15:20 apache-hawq-src-2.0.0-beta-incubating.tar.gz
    -rw-r--r-- 1 tyao staff 842B Jan 20 15:25 apache-hawq-src-2.0.0-beta-incubating.tar.gz.asc
    -rw-r--r-- 1 tyao staff 86B Jan 20 15:24 apache-hawq-src-2.0.0-beta-incubating.tar.gz.md5
    -rw-r--r-- 1 tyao staff 87B Jan 20 15:24 apache-hawq-src-2.0.0-beta-incubating.tar.gz.sha1

     

  4. create a local folder for the release (e.g. 2.0.0-beta-incubating.RC1) in svn. We use apache's distribution repo: https://dist.apache.org/repos/dist/dev/incubator/hawq/
  5. move the files into the release folder on local disk.
  6. svn add <release folder>
  7. svn commit

     
  • No labels