@@ -53,11 +53,11 @@ For more details on our CI and CI setup, see `CI.md`.
53
53
54
54
## Making releases
55
55
56
- We make frequent releases, at least weekly. The steps to make a release (say, version 0.6.17 ) are:
56
+ We make frequent releases, at least weekly. The steps to make a release (say, version 0.7.1 ) are:
57
57
58
58
* Make sure that the top section of ` Changelog.md ` has a title like
59
59
60
- ## 0.6.17 (2021-12-03 )
60
+ ## 0.7.1 (2022-08-25 )
61
61
62
62
with today’s date.
63
63
@@ -71,18 +71,18 @@ We make frequent releases, at least weekly. The steps to make a release (say, ve
71
71
72
72
If not, create and merge a separate PR to update the doc (adding any new files) and goto step 0.
73
73
74
- * Define a shell variable ` export MOC_MINOR=17 `
74
+ * Define a shell variable ` export MOC_MINOR=1 `
75
75
76
- * Look at ` git log --first-parent 0.6 .$(expr $MOC_MINOR - 1)..HEAD ` and check
76
+ * Look at ` git log --first-parent 0.7 .$(expr $MOC_MINOR - 1)..HEAD ` and check
77
77
that everything relevant is mentioned in the changelog section, and possibly
78
78
clean it up a bit, curating the information for the target audience.
79
79
80
- * ` git commit -am "Releasing 0.6 .$MOC_MINOR" `
80
+ * ` git commit -am "Releasing 0.7 .$MOC_MINOR" `
81
81
* Create a PR from this commit, and label it ` automerge-squash ` . Mergify will
82
82
merge it into master without additional approval, within 2 or 3 minutes.
83
83
* ` git switch master; git pull ` . The release commit should be your ` HEAD `
84
- * ` git tag 0.6 .$MOC_MINOR -m "Motoko 0.6 .$MOC_MINOR" `
85
- * ` git push origin 0.6 .$MOC_MINOR `
84
+ * ` git tag 0.7 .$MOC_MINOR -m "Motoko 0.7 .$MOC_MINOR" `
85
+ * ` git push origin 0.7 .$MOC_MINOR `
86
86
87
87
Pushing the tag should cause GitHub Actions to create a “Release” on the github
88
88
project. This will fail if the changelog is not in order (in this case, fix and
@@ -96,11 +96,11 @@ branch to the `next-moc` branch.
96
96
* Wait ca. 5min after releasing to give the CI/CD pipeline time to upload the release artifacts
97
97
* Change into ` motoko-base `
98
98
* ` git switch next-moc; git pull `
99
- * ` git switch -c $USER/update-moc-0.6 .$MOC_MINOR `
99
+ * ` git switch -c $USER/update-moc-0.7 .$MOC_MINOR `
100
100
* Update the ` moc_version ` env variable in ` .github/workflows/{ci, package-set}.yml `
101
- to the new released version:
102
- ` perl -pi -e "s/moc_version: \"0\.6\.\\d+\"/moc_version: \"0.6 .$MOC_MINOR\"/g" .github/workflows/ci.yml .github/workflows/package-set.yml `
103
- * ` git add .github/ && git commit -m "Motoko 0.6 .$MOC_MINOR" `
101
+ to the new released version: (FIXME: 0.6 below --> 0.7)
102
+ ` perl -pi -e "s/moc_version: \"0\.6\.\\d+\"/moc_version: \"0.7 .$MOC_MINOR\"/g" .github/workflows/ci.yml .github/workflows/package-set.yml `
103
+ * ` git add .github/ && git commit -m "Motoko 0.7 .$MOC_MINOR" `
104
104
* You can ` git push ` now
105
105
106
106
Make a PR off of that branch and merge it using a _ normal merge_ (not
0 commit comments