packaging: Push a new version on the same day correctly.
- Wasn't updating the uv.lock files.
This commit is contained in:
parent
dd60443e95
commit
d8aff012e9
1 changed files with 5 additions and 6 deletions
|
|
@ -16,13 +16,12 @@ CURRENT_VERSION=$(git describe --tags --abbrev=0)
|
||||||
if [ $NEW_VERSION == $CURRENT_VERSION ]; then
|
if [ $NEW_VERSION == $CURRENT_VERSION ]; then
|
||||||
git tag --delete $CURRENT_VERSION
|
git tag --delete $CURRENT_VERSION
|
||||||
git push --delete origin $CURRENT_VERSION
|
git push --delete origin $CURRENT_VERSION
|
||||||
else
|
|
||||||
git grep --no-color -l $CURRENT_VERSION | xargs sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g"
|
|
||||||
for DIR in eris fill3 lscolors termstr ; do
|
|
||||||
cd $DIR; uv sync; cd ..
|
|
||||||
done
|
|
||||||
git commit --all --message="Update version to $NEW_VERSION"
|
|
||||||
fi
|
fi
|
||||||
|
git grep --no-color -l $CURRENT_VERSION | xargs sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g"
|
||||||
|
for DIR in eris fill3 lscolors termstr ; do
|
||||||
|
cd $DIR; uv sync; cd ..
|
||||||
|
done
|
||||||
|
git commit --all --message="Update version to $NEW_VERSION"
|
||||||
git tag $NEW_VERSION
|
git tag $NEW_VERSION
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue