versions.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .PHONY: validate-versions reset-versions
  2. SUBMODULES_CONFIG_FILE = $(top_srcdir)/acceptance-tests/SUBMODULES.json
  3. include $(top_srcdir)/scripts/submodules/versions.mk
  4. $(eval $(call ValidateVersionTemplate,roslyn,ROSLYN))
  5. $(eval $(call ValidateVersionTemplate,coreclr,CORECLR))
  6. $(eval $(call ValidateVersionTemplate,ms-test-suite,MSTESTSUITE))
  7. # Bump the given submodule to the revision given by the REV make variable
  8. # If COMMIT is 1, commit the change
  9. bump-roslyn: __bump-version-roslyn
  10. bump-coreclr: __bump-version-coreclr
  11. bump-ms-test-suite: __bump-version-ms-test-suite
  12. # Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
  13. # If COMMIT is 1, commit the change
  14. bump-branch-roslyn: __bump-branch-roslyn
  15. bump-branch-coreclr: __bump-branch-coreclr
  16. bump-branch-ms-test-suite: __bump-branch-ms-test-suite
  17. # Bump the given submodule to its current GIT version
  18. # If COMMIT is 1, commit the change
  19. bump-current-roslyn: __bump-current-version-roslyn
  20. bump-current-coreclr: __bump-current-version-coreclr
  21. bump-current-ms-test-suite: __bump-current-version-ms-test-suite
  22. commit-bump-roslyn:
  23. $(MAKE) bump-roslyn COMMIT=1
  24. commit-bump-coreclr:
  25. $(MAKE) bump-coreclr COMMIT=1
  26. commit-bump-ms-test-suite:
  27. $(MAKE) bump-ms-test-suite COMMIT=1
  28. commit-bump-current-roslyn:
  29. $(MAKE) bump-current-roslyn COMMIT=1
  30. commit-bump-current-coreclr:
  31. $(MAKE) bump-current-coreclr COMMIT=1
  32. commit-bump-current-ms-test-suite:
  33. $(MAKE) bump-current-ms-test-suite COMMIT=1