Changeset 348abf6 in flexpart.git


Ignore:
Timestamp:
Jan 28, 2019, 10:41:14 AM (3 months ago)
Author:
Ignacio Pisso <ip@…>
Branches:
release-10
Children:
a2e9de4
Parents:
a816416
git-author:
Ignacio Pisso <ip@…> (01/28/19 10:40:55)
git-committer:
Ignacio Pisso <ip@…> (01/28/19 10:41:14)
Message:

changes to create_tarball.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • create_tarball.sh

    ra816416 r348abf6  
    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
     
    175183# cp -r tests/default_cases $tarball_tmp/tests/
    176184
     185tar cvf  $tarball  $tarball_tmp 
    177186
     187echo  $tarball complete
     188echo exported untarred files in $tarball_tmp
    178189exit
    179190#return
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG