Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 3.45 KB

RELEASING.md

File metadata and controls

40 lines (35 loc) · 3.45 KB

Automated version release guide

Note: Replace 1.0.0 with the version number you are releasing

  1. Verify that the CHANGELOG.md unreleased section is accurate and up to date by checking the commits between tags
  2. Update the CHANGELOG.md unreleased section with the next version number. Use Semver to determine how far to bump things up
  3. Make a new unreleased section at the top. Follow the Keep A Changelog format for this
  4. Make a new commit with that changelog using "Release 1.0.0" as the message
  5. Make a new tag with the version number git tag --annotate 1.0.0 --message="Release 1.0.0"
  6. Push the new tag git push && git push --tags
  7. Monitor the new release workflow in Github Actions which should complete the rest

Manual version release guide

Note: Replace 1.0.0 with the version number you are releasing

  1. Verify that the CHANGELOG.md unreleased section is accurate and up to date by checking the commits between tags
  2. Update the CHANGELOG.md unrelease section with the next version number. Use Semver to determine how far to bump things up
  3. Make a new commit with that changelog using "Release 1.0.0"
  4. Make a new tag with the version number git tag --annotate 1.0.0 --message="Release 1.0.0"
  5. Push the new tag git push && git push --tags
  6. Go to the tags page and click the three dots to the right to "Create release". In the prompt, copy and paste the CHANGELOG.md notes for the 1.0.0 release in the body and put "1.0.0" for the title
  7. Pull down the latest advertisements image docker pull ddtraining/advertisements:latest
  8. Tag the advertisements latest image with the new version number docker tag ddtraining/advertisements:latest ddtraining/advertisements:1.0.0
  9. Push the advertisements image up docker push ddtraining/advertisements:1.0.0
  10. Pull down the latest advertisements-fixed image docker pull ddtraining/advertisements-fixed:latest
  11. Tag the advertisements latest image with the new version number docker tag ddtraining/advertisements-fixed:latest ddtraining/advertisements-fixed:1.0.0
  12. Push the advertisements-fixed image up docker push ddtraining/advertisements-fixed:1.0.0
  13. Pull down the latest discounts image docker pull ddtraining/discounts:latest
  14. Tag the discounts latest image with the new version number docker tag ddtraining/discounts:latest ddtraining/discounts:1.0.0
  15. Push the discounts image up docker push ddtraining/discounts:1.0.0
  16. Pull down the latest discounts-fixed image docker pull ddtraining/discounts-fixed:latest
  17. Tag the discounts-fixed latest image with the new version number docker tag ddtraining/discounts-fixed:latest ddtraining/discounts-fixed:1.0.0
  18. Push the discounts-fixed image up docker push ddtraining/discounts-fixed:1.0.0
  19. Pull down the latest storefront image docker pull ddtraining/storefront:latest
  20. Tag the storefront latest image with the new version number docker tag ddtraining/storefront:latest ddtraining/storefront:1.0.0
  21. Push the storefront image up docker push ddtraining/storefront:1.0.0
  22. Pull down the latest storefront-fixed image docker pull ddtraining/storefront-fixed:latest
  23. Tag the storefront-fixed latest image with the new version number docker tag ddtraining/storefront-fixed:latest ddtraining/storefront-fixed:1.0.0
  24. Push the storefront-fixed image up docker push ddtraining/storefront-fixed:1.0.0