File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
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
-
7
3
# Stage all modified files
8
4
git add .
9
5
10
6
# 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"
20
8
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)
You can’t perform that action at this time.
0 commit comments