Skip to content

Commit

Permalink
Update version_update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish-Anadv-07 authored Oct 25, 2023
1 parent b214066 commit a35977e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions version_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ sed -i -e "1s/s = .*/s = [$version]/" version_update.py
git checkout -b test1
git add version_update.py
git commit -m "version update"
git push origin test1
git push -f origin test1

updated_version=$(python version_update.py)
sed -i -e "1s/__version_info__ = .*/__version_info__ = $updated_version/" version.py
git add version.py
git commit -m "version update"
git push origin test1
git push -f origin test1
git checkout master
git pull origin master
git merge test1
git push origin master
git push -f origin master
rm *.py-e

0 comments on commit a35977e

Please sign in to comment.