/[pcsx2_0.9.7]/auto_build_latest_upstream.sh
ViewVC logotype

Diff of /auto_build_latest_upstream.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 103 by william, Thu Sep 9 18:40:12 2010 UTC revision 109 by william, Thu Sep 9 21:12:48 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  . ./auto_defs.sh  #. ./auto_defs.sh
3    
4    
5    
6  if [ "$1" != "" ] ; then  if [ "$1" != "" ] ; then
7          export OVERRIDE_TMP_BUILD_PATH="$1"          export OVERRIDE_TMP_BUILD_PATH="$1"
8          . ./auto_build_defs.sh          . ./auto_build_defs.sh
9  fi  fi
10    
11    #UPDATE PCSX2 VERSION
12    PCSX2_VERSION=`cat "$$PCSX2_BUILD_TMP/bin/pcsx2-version.txt"`
13    
14  export DISABLE_AUTO_TAG="0"  export DISABLE_AUTO_TAG="0"
15    
16  if [ "$2" == "--no-auto-tag" ] ; then  if [ "$2" == "--no-auto-branch" ] ; then
17          DISABLE_AUTO_TAG="1"          DISABLE_AUTO_BRANCH="1"
18  fi  fi
19  if [ "$3" == "--no-prebuild" ] ; then  if [ "$3" == "--no-prebuild" ] ; then
20          DISABLE_PREBUILD="1"          DISABLE_PREBUILD="1"
# Line 25  echo Line 30  echo
30  echo -e "\\tMSBUILD PATH: $MSBUILD"  echo -e "\\tMSBUILD PATH: $MSBUILD"
31  echo -e "\\tPCSX2 VCS BUILD PATH: $PCSX2_BUILD_TMP"  echo -e "\\tPCSX2 VCS BUILD PATH: $PCSX2_BUILD_TMP"
32  echo -e "\\tPCSX2 VCS PROJECT FILE: $VSC_PROJECT_FILE"  echo -e "\\tPCSX2 VCS PROJECT FILE: $VSC_PROJECT_FILE"
33  echo -e "\\tPCSX2 VERSION: $VSC_BUILD_VERSION_UPSTREAM"  echo -e "\\tPCSX2 UPSTREAM VERSION: $VSC_BUILD_VERSION_UPSTREAM"
34    echo -e "\\tPCSX2 LOCAL TRUNK VERSION: $PCSX2_VERSION"
35  echo -e "\\tPCSX2 LOCAL VERSION: $VSC_BUILD_VERSION_LOCAL"  echo -e "\\tPCSX2 LOCAL VERSION: $VSC_BUILD_VERSION_LOCAL"
36  echo  echo
37  echo "---------------------------------------------------------------------------------------"  echo "---------------------------------------------------------------------------------------"
# Line 83  if [ "$BUILD_SUCCESS" == 0 ] ; then Line 89  if [ "$BUILD_SUCCESS" == 0 ] ; then
89          echo          echo
90          echo "AUTOBUILD COMPLETE..."          echo "AUTOBUILD COMPLETE..."
91          # perform auto tagging          # perform auto tagging
92          if [ "$DISABLE_AUTO_TAG" == "0" ] ; then          if [ "$DISABLE_AUTO_BRANCH" == "0" ] ; then
93                  "$downstream_export_location/auto_tag_latest_upstream.sh"                  # Always force auto branch update after building
94                    "$downstream_export_location/auto_branch_latest_upstream.sh" --force-update
95          else          else
96                  echo "AUTO BUILD TAGGING HAS BEEN DISABLED ... not calling auto_tag_latest_upstream.sh --> to enable do not use --no-auto-tag"                  echo "AUTO BUILD BRANCH HAS BEEN DISABLED ... not calling auto_branch_latest_upstream.sh --> to enable do not use --no-auto-branch"
97          fi          fi
98  else  else
99    

Legend:
Removed from v.103  
changed lines
  Added in v.109

  ViewVC Help
Powered by ViewVC 1.1.22