Release v2.1.0

This commit is contained in:
Hadi 2024-08-18 23:40:47 +02:00
parent 957b148656
commit a134abdea3
3 changed files with 25 additions and 4 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
# Create WALLPAPERS.md to preview wallpapers in ./home/wallpapers # Create WALLPAPERS.md to preview wallpapers in ./home/wallpapers
WALLPAPERS_FOLDER="./home/wallpapers" WALLPAPERS_FOLDER="./home/wallpapers"

View File

@ -2,10 +2,7 @@
# A script to parse the Hyprland configuration to store keybindings in a table # A script to parse the Hyprland configuration to store keybindings in a table
[[ -f "./docs/scripts/install.sh" ]] || ( [[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
printf "\n\e[0;91mx \e[0m\e[1;77mNot in the project root directory\e[0m"
exit 1
)
KEYBINDINGS_FILE="./docs/KEYBINDINGS.md" KEYBINDINGS_FILE="./docs/KEYBINDINGS.md"

22
docs/scripts/new_tag.sh Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
TAG=$(git describe --tags --abbrev=0)
echo "Current tag: $TAG"
read -rp "Enter the new tag name: " NEW_TAG
echo "Compresing png files..."
bash ./docs/scripts/compress_png.sh
echo "Creating wallpapers preview..."
bash ./docs/scripts/create_preview_wallpapers.sh
echo "Creating README.md..."
bash ./docs/scripts/create_readme.sh
echo "Creating keybindings.md..."
bash ./docs/scripts/create_keybindings.sh
git add .
git commit -m "Release $NEW_TAG"
git tag -a "$NEW_TAG" -m "Release $NEW_TAG"
git push origin "$NEW_TAG"