From 7869cb4cc778fe1fff02e727e3e41702c9ac682d Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 3 May 2017 08:32:34 -0600 Subject: [PATCH] Collapse package version edits --- Release-Procedure.md | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/Release-Procedure.md b/Release-Procedure.md index 49cfa0e..c2b36b6 100644 --- a/Release-Procedure.md +++ b/Release-Procedure.md @@ -31,11 +31,11 @@ Commit your changes: git add changelog git commit -m 'Changelog for v3.1.0' -### Update `package.json` +### Update `package.json` and `package/package.json` -Update the version number in `package.json` to reflect the target release. Create a commit for this change as well. +Update the version numbers in `package.json` and `package/package.json` to reflect the target release. Create a commit for this change as well. -E.g. +E.g. in `package.json` ```json { "name": "openlayers", @@ -43,24 +43,16 @@ E.g. } ``` - git add package.json - git commit -m 'Update package version to 3.1.0' - -### Update `package.json` for the ol package - -Update the beta version number in `package/package.json` to reflect the target release. Create a commit for this change as well. - -E.g. +And in `package/package.json` ```json { "name": "ol", - "version": "3.1.0-beta.1" + "version": "3.1.0" } ``` - git add package/package.json - git commit -m 'Update ol package version to 3.1.0-beta.1' - + git add package.json package/package.json + git commit -m 'Update package version to 3.1.0' ### Merge the release branch