Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning initial version 0.0.1 for new repository #37

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 0.0.1 for the new repository."

echo "0.0.1" > VERSION

log_info "Staging the version file."
git add VERSION

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
---
Expand Down