Skip to content

Commit 10e244c

Browse files
committed
updated the gitignore file
1 parent c37823b commit 10e244c

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea/
2+
.tag_number

Makefile

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,17 @@ increment_version:
5959
commit_changes:
6060
@$(call check_tag_number) \
6161
rm $(TAG_NUMBER_FILE); \
62-
git add .; \
63-
git commit -m "updated to $$TAG_NUMBER"; \
64-
echo "Changes committed with tag $$TAG_NUMBER."; \
62+
# git add .; \
63+
# git commit -m "updated to $$TAG_NUMBER"; \
64+
# echo "Changes committed with tag $$TAG_NUMBER."; \
6565
echo "$$TAG_NUMBER" > $(TAG_NUMBER_FILE);
6666

6767
# Create a git tag with the given tag number
6868
create_tag:
6969
@$(call check_tag_number) \
7070
git tag "$$TAG_NUMBER"; \
71-
echo "Tag $$TAG_NUMBER created.";
71+
echo "Tag $$TAG_NUMBER created."; \
72+
rm $(TAG_NUMBER_FILE);
7273

7374

7475
# Push the changes to the origin branch
@@ -86,23 +87,24 @@ push_tags:
8687
# Clean up
8788
clean:
8889
@echo "Cleaning up..."
89-
@git reset --hard HEAD
90+
@git reset --soft HEAD
9091
@echo "Cleanup done."
91-
@rm $(TAG_NUMBER_FILE);
92+
@rm $(TAG_NUMBER_FILE)
9293

9394

9495
# Help message
9596
help:
9697
@echo "Usage:"
9798
@echo " make update_version <tag_number>"
9899
@echo "Targets:"
99-
@echo " all Updates version, commits changes, creates a tag, and pushes changes."
100+
@echo " all Updates version, commits changes, creates a tag, and pushes changes."
101+
@echo " increment_version Increments the version in by 1 patch level."
100102
@#echo " update_version Updates the version in pom.xml."
101-
@echo " commit_changes Commits the changes with a message."
102-
@echo " create_tag Creates a git tag."
103-
@echo " push_changes Pushes changes to the origin branch."
104-
@echo " push_tags Pushes all tags to the remote repository."
105-
@echo " clean Resets changes to HEAD."
103+
@echo " commit_changes Commits the changes with a message."
104+
@echo " create_tag Creates a git tag."
105+
@echo " push_changes Pushes changes to the origin branch."
106+
@echo " push_tags Pushes all tags to the remote repository."
107+
@echo " clean Resets changes to HEAD."
106108

107109
# Handle arguments for the update_version target
108110
%:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy