bots-garden/sidekickspublic Fork
⑂ v1.7.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
specifications are defined eb9186a · on v1.7.0 · k33g · 26d ago
tag-step.sh · 19 lines · 470 BBash Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# 1. Vérifier ce qui va être commité
git status

TAG="$1"
ABOUT="$2"

# 2. Ajouter les fichiers et faire le premier commit
git add .
git commit -m "${ABOUT}"

# 3. Créer un tag annoté (avec un message) pour marquer l'étape
git tag -a "${TAG}" -m "${ABOUT}"

# 4. Pousser la branche (-u la relie à origin/main pour les prochains push)
git push -u origin main

# 5. Pousser le tag (un git push ne pousse pas les tags tout seul)
git push origin "${TAG}"