Add in change to tar file name
This commit is contained in:
parent
28d6cb1a44
commit
f8e6992cea
@ -67,6 +67,8 @@ echo `pwd`
|
|||||||
|
|
||||||
# Rename the spec file accordingly to $1
|
# Rename the spec file accordingly to $1
|
||||||
mv change-this-to-the-package-name.spec $1.spec
|
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
|
# Set the date in the spec file changelog to today
|
||||||
dateH=`date "+%a %b %d %Y"`
|
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
|
#Now write them all back to the repo
|
||||||
|
|
||||||
git add -A
|
git add --all
|
||||||
git status
|
git status
|
||||||
git commit -m "post create changes"
|
git commit -m "post create changes"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user