Project

General

Profile

Revision 853c4475

Added by Eric Helms about 7 years ago

Moving RPM spec to katello-packaging

View differences:

release.sh
3 3

  
4 4
NAME="runcible"
5 5
VERSION=`cat ./lib/runcible/version.rb | grep VERSION | awk -F '"' '{print $2}'` 
6
RPM_VERSION=`cat *.spec | grep Version: | awk '{print $2}'`
7

  
8
if [ "$VERSION" != "$RPM_VERSION" ] ; then
9
  echo "Gem version ($VERSION) and rpm version ($RPM_VERSION) do not match"
10
  echo "Have you run tito tag yet?"
11
  exit 1
12
fi
13

  
14 6

  
15 7
read -p "Would you like to release $NAME-$VERSION (yes/no/skip)? "
16 8
if [ "$REPLY" == "yes" ]; then

Also available in: Unified diff