Blame view

release.sh 413 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #!/bin/sh
  git clean -x -f -d .
  git checkout -- .
  git pull
  
  TAG=`git log -1 --pretty=format:%h`
  IMAGE_DIR=`realpath $(pwd)/images_${TAG}`
  
  echo "=============================================="
  echo " Make release package"
  echo " IMAGE_DIR: ${IMAGE_DIR}"
  echo "=============================================="
  
  sed -i "/^IMG_PATH/c\IMG_PATH=..\/images_${TAG}\/" ./scripts/sd_mk.sh
  
  CP_DIR=${IMAGE_DIR} ./make.sh all