Skip to content

Commit

Permalink
Refactored to assign initial version 1.0.0 for new repository, stage …
Browse files Browse the repository at this point in the history
…and commit inital version
  • Loading branch information
lwersiy committed Sep 26, 2024
1 parent bc3dc8c commit e4d7970
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gh-skeleton
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down

0 comments on commit e4d7970

Please sign in to comment.