Update version from v2021.12.22 to vv2021.12.22.
This commit is contained in:
parent
292f58e309
commit
c61623c647
7 changed files with 11 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
|
||||||
|
|
||||||
Install eris directly using pip, and apt install the tools eris relies on:
|
Install eris directly using pip, and apt install the tools eris relies on:
|
||||||
|
|
||||||
pip install git+https://github.com/ahamilton/eris@v2021.12.22#subdirectory=eris
|
pip install git+https://github.com/ahamilton/eris@vv2021.12.22#subdirectory=eris
|
||||||
eris --apt-install-tools
|
eris --apt-install-tools
|
||||||
|
|
||||||
Or install from source: (including tools)
|
Or install from source: (including tools)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ except ImportError:
|
||||||
|
|
||||||
REPO_PATH = os.path.dirname(os.getcwd())
|
REPO_PATH = os.path.dirname(os.getcwd())
|
||||||
setup(name="eris",
|
setup(name="eris",
|
||||||
version="v2021.12.22",
|
version="vv2021.12.22",
|
||||||
description=("Eris maintains an up-to-date set of reports for every file in a codebase."),
|
description=("Eris maintains an up-to-date set of reports for every file in a codebase."),
|
||||||
url="https://github.com/ahamilton/eris",
|
url="https://github.com/ahamilton/eris",
|
||||||
author="Andrew Hamilton",
|
author="Andrew Hamilton",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ except ImportError:
|
||||||
|
|
||||||
REPO_PATH = os.path.dirname(os.getcwd())
|
REPO_PATH = os.path.dirname(os.getcwd())
|
||||||
setup(name="fill3",
|
setup(name="fill3",
|
||||||
version="v2021.12.22",
|
version="vv2021.12.22",
|
||||||
description=("Fill3 provides basic widgets for a tui."),
|
description=("Fill3 provides basic widgets for a tui."),
|
||||||
url="https://github.com/ahamilton/eris",
|
url="https://github.com/ahamilton/eris",
|
||||||
author="Andrew Hamilton",
|
author="Andrew Hamilton",
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
setup(name="lscolors",
|
setup(name="lscolors",
|
||||||
version="v2021.12.22",
|
version="vv2021.12.22",
|
||||||
description=("Give coloring for file types as in the ls command."),
|
description=("Give coloring for file types as in the ls command."),
|
||||||
url="https://github.com/ahamilton/eris",
|
url="https://github.com/ahamilton/eris",
|
||||||
author="Andrew Hamilton",
|
author="Andrew Hamilton",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
|
||||||
|
|
||||||
Install eris directly using pip, and apt install the tools eris relies on:
|
Install eris directly using pip, and apt install the tools eris relies on:
|
||||||
|
|
||||||
pip install git+https://github.com/ahamilton/eris@v2021.12.22#subdirectory=eris
|
pip install git+https://github.com/ahamilton/eris@vv2021.12.22#subdirectory=eris
|
||||||
eris --apt-install-tools
|
eris --apt-install-tools
|
||||||
|
|
||||||
Or install from source: (including tools)
|
Or install from source: (including tools)
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,16 @@ set -e
|
||||||
[ -e README.md ]
|
[ -e README.md ]
|
||||||
|
|
||||||
|
|
||||||
NEW_VERSION=$(date "+v%Y.%m.%d")
|
NEW_VERSION=$(date "+vv%Y.%m.%d")
|
||||||
CURRENT_VERSION=$(git describe --tags --abbrev=0)
|
CURRENT_VERSION=$(git describe --tags --abbrev=0)
|
||||||
if [ $NEW_VERSION == $CURRENT_VERSION ]; then
|
if [ $NEW_VERSION == $CURRENT_VERSION ]; then
|
||||||
|
echo "Tag already exists. Retagging to HEAD."
|
||||||
git tag --delete $CURRENT_VERSION
|
git tag --delete $CURRENT_VERSION
|
||||||
else
|
else
|
||||||
|
echo "Commiting change to versions:"
|
||||||
git grep -l $CURRENT_VERSION | xargs sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g"
|
git grep -l $CURRENT_VERSION | xargs sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g"
|
||||||
|
git diff
|
||||||
git commit --all --message="Update version from $CURRENT_VERSION to $NEW_VERSION."
|
git commit --all --message="Update version from $CURRENT_VERSION to $NEW_VERSION."
|
||||||
fi
|
fi
|
||||||
git tag $NEW_VERSION
|
git tag $NEW_VERSION
|
||||||
|
git log --max-count=1
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
setup(name="termstr",
|
setup(name="termstr",
|
||||||
version="v2021.12.22",
|
version="vv2021.12.22",
|
||||||
description=("Termstr provides strings with extra terminal styling."),
|
description=("Termstr provides strings with extra terminal styling."),
|
||||||
url="https://github.com/ahamilton/eris",
|
url="https://github.com/ahamilton/eris",
|
||||||
author="Andrew Hamilton",
|
author="Andrew Hamilton",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue