Changes in / [77783e3:0ca4976] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • create_tarball.sh

    ra816416 ra2e9de4  
    22
    33#define version number
    4 version=10.3beta5
     4
     5githash=$(git rev-parse --short --verify HEAD)
     6
     7
     8version=10.3beta5_$githash
    59
    610# define tarball name
    711targetdir=../flexpart_distribution/
    812tarball_tmp=${targetdir}flexpart_v$version
     13#tarball=${targetdir}flexpart_v$version.tar
     14tarball=${tarball_tmp}.tar
    915
    1016# clean old package
    1117if [ -d $tarball_tmp ]; then
    12   echo $tarball_tmp exists: move to $tarball_tmp.bk   
    13   mv $tarball_tmp ${tarball_tmp}.bk
     18  echo $tarball_tmp exists: move to $tarball_tmp.bk and exit 
     19  mkdir $tarball_tmp.bk
     20  mv $tarball_tmp ${tarball_tmp}.bk/
     21  mv $tarball ${tarball_tmp}.bk/
    1422  exit
    1523fi
     
    7987#cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_extract/
    8088## cp -r flex_extract/work/EA* $tarball_tmp/preprocess/flex_extract/work   
     89
     90echo include flex_extract v7.0.4 b7c1c04a204c91e53759ef590504bf52dfaece64
     91flex_extract=../flex_extract_v7.0.4/
     92cp $flex_extract/README.md $tarball_tmp/preprocess/flex_extract
     93cp -r $flex_extract/docs $tarball_tmp/preprocess/flex_extract
     94cp -r $flex_extract/grib_templates $tarball_tmp/preprocess/flex_extract
     95cp -r $flex_extract/python $tarball_tmp/preprocess/flex_extract
     96cp -r $flex_extract/src $tarball_tmp/preprocess/flex_extract
     97
    8198
    8299
     
    175192# cp -r tests/default_cases $tarball_tmp/tests/
    176193
    177 
     194tar cvf  $tarball  $tarball_tmp 
     195
     196echo  $tarball complete
     197echo exported untarred files in $tarball_tmp
    178198exit
    179199#return
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG