Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the component development process is complete, the component release process can begin. Follow the steps below to tag the repository appropriately:

Code Block
languagec#
themeDJango
titlesteps for git tagging for a component
# check which branch is HEAD
git branch -a 
# if HEAD is set to origin/develop (remotes/origin/HEAD -> origin/develop) run
git fetch origin main:main

# initialize repo and git flow (once per clone)
git flow init -d

# create your release from develop
git flow release start <release number> <optional develop SHA1>
git flow release start 1.0.0

git add/commit # bug fixes, release stabilisation (only if applicable)

# create changelog and commit
auto-changelog -v <release version>
auto-changelog -v 1.0.0
git add CHANGELOG.md
git commit CHANGELOG.md

# publish the release branch  
git flow release publish <release version>
git flow release publish 1.0.0

# at this stage please create Pull request for both develop and main branches from UI
# note the update on develop will only be CHANGELOG.md, main will be changelog and other changes
# do NOT merge from UI !!

# finish the release: this push changes to main & develop, creates a TAG, deletes the release branch
git flow release finish <release version>
git flow release finish 1.0.0

# push the changes and TAGS to origin
git push origin main
git push origin develop
git push origin --tags

...

Code Block
languagec#
themeDJango
titlegit cloning
collapsetrue
chtsl00388@chtsl00388-IdeaPad-5-14ITL05:~$ git clone  https://github.com/ksaipr036/rdk-speedtest-cli.git 
Cloning into 'rdk-speedtest-cli'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 22 (delta 6), reused 19 (delta 3), pack-reused 0 (from 0)
Receiving objects: 100% (22/22), 16.12 KiB | 8.06 MiB/s, done.
Resolving deltas: 100% (6/6), done.
chtsl00388@chtsl00388-IdeaPad-5-14ITL05:~$ 

...