From e4d79708347c5b6663ed9352cc002bcbc2b31a7b Mon Sep 17 00:00:00 2001 From: lwersiy Date: Thu, 26 Sep 2024 01:24:53 -0400 Subject: [PATCH 1/2] Refactored to assign initial version 1.0.0 for new repository, stage and commit inital version --- gh-skeleton | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gh-skeleton b/gh-skeleton index 561405a..dbf1dda 100755 --- a/gh-skeleton +++ b/gh-skeleton @@ -131,6 +131,18 @@ clone_repo() { log_info "Committing staged files to the ${DEFAULT_BRANCH} branch." git commit --message "Rename repository references after clone" + # Assigning the initial version + + log_info "Creating an initial version 1.0.0 for the new repository." + + echo "1.0.0" > VERSION + + log_info "Staging the version file." + git add VERSION + + log_info "Committing the inital version 1.0.0" + git commit --message "Set initial version to 1.0.0" + log_info "Creating the lineage.yml file." cat << END_OF_LINE > .github/lineage.yml --- From 04baa363a92422d3804591e6fd33f3a982525cf1 Mon Sep 17 00:00:00 2001 From: lwersiy Date: Thu, 26 Sep 2024 02:00:52 -0400 Subject: [PATCH 2/2] updated to 0.0.1 for early stages of development --- gh-skeleton | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gh-skeleton b/gh-skeleton index dbf1dda..f6fa183 100755 --- a/gh-skeleton +++ b/gh-skeleton @@ -133,15 +133,15 @@ clone_repo() { # Assigning the initial version - log_info "Creating an initial version 1.0.0 for the new repository." + log_info "Creating an initial version 0.0.1 for the new repository." - echo "1.0.0" > VERSION + echo "0.0.1" > VERSION log_info "Staging the version file." git add VERSION - log_info "Committing the inital version 1.0.0" - git commit --message "Set initial version to 1.0.0" + log_info "Committing the inital version 0.0.1" + git commit --message "Set initial version to 0.0.1" log_info "Creating the lineage.yml file." cat << END_OF_LINE > .github/lineage.yml