Skip to content

Commit

Permalink
style: Minor adjustments to the Makefile and author script.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Nov 20, 2023
1 parent e61c254 commit d451600
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File @generated by scripts/generate-authors.sh. DO NOT EDIT.
# This file lists all contributors to the repository.
# See scripts/generate-authors.sh to make modifications.
# File @generated by scripts/generate-authors.sh. DO NOT EDIT.
# This file lists all contributors to the repository.
# See scripts/generate-authors.sh to make modifications.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Ryan Parman <[email protected]>
Expand Down
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -386,23 +386,23 @@ changelog:
tag:
@ if [ $$(git status -s -uall | wc -l) != 1 ]; then echo 'ERROR: Git workspace must be clean.'; exit 1; fi;

@echo "This release will be tagged as: $$(cat ./VERSION)"
@echo "This version should match your release. If it doesn't, re-run 'make version'."
@echo "---------------------------------------------------------------------"
@read -p "Press any key to continue, or press Control+C to cancel. " x;
@ $(ECHO) "This release will be tagged as: v$$(cat ./VERSION)"
@ $(ECHO) "This version should match your release. If it doesn't, re-run 'make version'."
@ $(ECHO) "---------------------------------------------------------------------"
@ read -p "Press any key to continue, or press Control+C to cancel. " x;

@echo " "
@chag update $$(cat ./VERSION)
@echo " "
@ $(ECHO) " "
@ chag update v$$(cat ./VERSION)
@ $(ECHO) " "

@echo "These are the contents of the CHANGELOG for this release. Are these correct?"
@echo "---------------------------------------------------------------------"
@chag contents
@echo "---------------------------------------------------------------------"
@echo "Are these release notes correct? If not, cancel and update CHANGELOG.md."
@read -p "Press any key to continue, or press Control+C to cancel. " x;
@ $(ECHO) "These are the contents of the CHANGELOG for this release. Are these correct?"
@ $(ECHO) "---------------------------------------------------------------------"
@ chag contents
@ $(ECHO) "---------------------------------------------------------------------"
@ $(ECHO) "Are these release notes correct? If not, cancel and update CHANGELOG.md."
@ read -p "Press any key to continue, or press Control+C to cancel. " x;

@echo " "
@ $(ECHO) " "

git add .
git commit -a -m "relprep: Preparing the $$(cat ./VERSION) release."
Expand All @@ -411,6 +411,6 @@ tag:
.PHONY: version
## version: [release]* Sets the version for the next release; pre-req for a release tag.
version:
@echo "Current version: $$(cat ./VERSION)"
@ $(ECHO) "Current version: $$(cat ./VERSION)"
@read -p "Enter new version number: " nv; \
printf "$$nv" > ./VERSION

0 comments on commit d451600

Please sign in to comment.