mirror of
https://github.com/Snigdha-OS/snigdhaos-assets.git
synced 2025-09-21 03:55:03 +02:00
feat(upgrade): logo, script have been upgraded
This commit is contained in:
BIN
arctic/Snigdha OS.png
Normal file
BIN
arctic/Snigdha OS.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
arctic/Snigdha OS.psd
Normal file
BIN
arctic/Snigdha OS.psd
Normal file
Binary file not shown.
BIN
arctic/snigdhaos-hello.png
Normal file
BIN
arctic/snigdhaos-hello.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
BIN
arctic/snigdhaos-hello.psd
Normal file
BIN
arctic/snigdhaos-hello.psd
Normal file
Binary file not shown.
18
arctic/snigdhaos-hello.svg
Normal file
18
arctic/snigdhaos-hello.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 9.0 KiB |
37
push.sh
37
push.sh
@@ -1,13 +1,32 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Set the repository URL and branch
|
# Author : Eshan Roy
|
||||||
REPO_URL="https://github.com/Snigdha-OS/snigdhaos-assets.git"
|
# URI : https://eshanized.github.io
|
||||||
BRANCH="master" # or "master" depending on your repository's default branch
|
|
||||||
|
|
||||||
# Commit message
|
# NOTE: If you are on Snigdha OS,
|
||||||
MESSAGE="⏳ @eshanized continuously updating the repository!"
|
# you can install commitizen-go with `sudo pacman -S commitizen-go`
|
||||||
|
# or `s commitizen-go`. Else you need to install `yay` or `yay-bin`
|
||||||
|
# to install commitizen. I have written this script only for *Arch Linux.
|
||||||
|
|
||||||
# Add all files, commit, and push changes
|
# Function to check if Commitizen is installed
|
||||||
git add .
|
check_commitizen() {
|
||||||
git commit -m "$MESSAGE"
|
if ! pacman -Qq commitizen-go &> /dev/null; then
|
||||||
git push origin $BRANCH
|
echo "Commitizen is not installed. Please install it using 'yay -S commitizen-go'." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Function to stage, commit, and push changes
|
||||||
|
push_to_github() {
|
||||||
|
git add .
|
||||||
|
git cz
|
||||||
|
git push origin master
|
||||||
|
}
|
||||||
|
|
||||||
|
# Main Function
|
||||||
|
main() {
|
||||||
|
check_commitizen
|
||||||
|
push_to_github
|
||||||
|
}
|
||||||
|
|
||||||
|
main
|
Reference in New Issue
Block a user