Skip to content

Commit 01aed92

Browse files
authored
Update push.sh
1 parent 93ede10 commit 01aed92

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

push.sh

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
#!/bin/bash
22

3-
# Prompt for the version tag
4-
echo "Enter the version tag you want to create (e.g., v1.0.1): "
5-
read VERSION_TAG
6-
73
# Stage all modified files
84
git add .
95

106
# Commit with a prompt for your message
11-
echo "Enter your commit message: "
12-
read COMMIT_MESSAGE
13-
git commit -m "$COMMIT_MESSAGE"
14-
15-
# Create an annotated Git tag
16-
git tag -a "$VERSION_TAG" -m "Release $VERSION_TAG"
17-
18-
# Push your commit and tags to the remote branch
19-
git push origin "$(git branch --show-current)" --tags
7+
git commit -m "Dylan Fixing Issues"
208

21-
echo "Changes committed and tagged as $VERSION_TAG. Pushed to origin."
9+
# Push your changes to the remote branch
10+
git push origin $(git branch --show-current)

0 commit comments

Comments
 (0)