|
|
|
@ -67,6 +67,8 @@ echo `pwd`
|
|
|
|
|
|
|
|
|
|
# Rename the spec file accordingly to $1
|
|
|
|
|
mv change-this-to-the-package-name.spec $1.spec
|
|
|
|
|
# and the tar file
|
|
|
|
|
mv change-this-to-the-package-name-1.0.tar.gz $1-1.0.tar.gz
|
|
|
|
|
|
|
|
|
|
# Set the date in the spec file changelog to today
|
|
|
|
|
dateH=`date "+%a %b %d %Y"`
|
|
|
|
@ -74,7 +76,7 @@ sed -i "s/Day MMMM DD YYYY/$dateH/" $1.spec
|
|
|
|
|
|
|
|
|
|
#Now write them all back to the repo
|
|
|
|
|
|
|
|
|
|
git add -A
|
|
|
|
|
git add --all
|
|
|
|
|
git status
|
|
|
|
|
git commit -m "post create changes"
|
|
|
|
|
git push
|
|
|
|
|