Skip to content

Commit 0c6948b

Browse files
authored
Releasing 0.7.0 (#3425)
1 parent f1bdfe3 commit 0c6948b

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

Building.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ For more details on our CI and CI setup, see `CI.md`.
5353

5454
## Making releases
5555

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:
5757

5858
* Make sure that the top section of `Changelog.md` has a title like
5959

60-
## 0.6.17 (2021-12-03)
60+
## 0.7.1 (2022-08-25)
6161

6262
with today’s date.
6363

@@ -71,18 +71,18 @@ We make frequent releases, at least weekly. The steps to make a release (say, ve
7171

7272
If not, create and merge a separate PR to update the doc (adding any new files) and goto step 0.
7373

74-
* Define a shell variable `export MOC_MINOR=17`
74+
* Define a shell variable `export MOC_MINOR=1`
7575

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
7777
that everything relevant is mentioned in the changelog section, and possibly
7878
clean it up a bit, curating the information for the target audience.
7979

80-
* `git commit -am "Releasing 0.6.$MOC_MINOR"`
80+
* `git commit -am "Releasing 0.7.$MOC_MINOR"`
8181
* Create a PR from this commit, and label it `automerge-squash`. Mergify will
8282
merge it into master without additional approval, within 2 or 3 minutes.
8383
* `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`
8686

8787
Pushing the tag should cause GitHub Actions to create a “Release” on the github
8888
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.
9696
* Wait ca. 5min after releasing to give the CI/CD pipeline time to upload the release artifacts
9797
* Change into `motoko-base`
9898
* `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`
100100
* 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"`
104104
* You can `git push` now
105105

106106
Make a PR off of that branch and merge it using a _normal merge_ (not

Changelog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Motoko compiler changelog
22

3-
## 0.6.31 (FUTURE, 2022-08-25)
3+
## 0.7.0 (2022-08-25)
44

55
* motoko (`moc`)
66

7-
* Adds new syntax for merging records (objects) and
7+
* BREAKING CHANGE (Minor):
8+
Adds new syntax for merging records (objects) and
89
adding/overwriting fields. The expression
910
``` motoko
1011
{ baseA and baseB with field1 = val1; field2 = val2 }

0 commit comments

Comments
 (0)