You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PUBLISHING.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,16 @@ brew cask install virtualbox
17
17
18
18
## Preparation
19
19
20
+
1. Start a new branch from `origin/master` named `release/<new version>`
20
21
1. Edit `CHANGELOG.md` to set the correct version number.
21
-
1. Create `Release Notes/<version>.md` to draft the release notes.
22
+
1. Create `Release Notes/<new version>.md` to draft the release notes.
22
23
1. Update the version number in `elm-format.cabal`.
23
24
1. If this is a stable release, update references to the version in `README.md`.
24
25
1. Update `ElmFormat.Version.experimental` to `Just <survey URL>` for experimental versions and `Nothing` otherwise.
25
26
1.`(cd package/npm && npm version "<new version>")`
26
-
1. Commit the changes "Bump version to *new version*"
27
-
1. Create a signed tag for the new version. `git tag -s <version> -m <version>`
28
-
1. Push the tag. `git push origin <version>`
27
+
1. Commit the changes "Bump version to <newversion>"
28
+
1. Create a signed tag for the new version. `git tag -s <new version> -m <new version>`
29
+
1. Push the tag. `git push origin <new version>`
29
30
1. Wait for CI to successfully build the tag.
30
31
31
32
@@ -47,9 +48,9 @@ brew cask install virtualbox
47
48
48
49
## Publishing
49
50
50
-
1. Run `package/collect_files.sh`
51
+
1. Run `./package/collect_files.sh`
51
52
1. Go to the release page for the new tag on github.
52
-
1. Enter the contents of `Release Notes/<version>.md` as the release notes.
53
+
1. Enter the contents of `Release Notes/<new version>.md` as the release notes.
53
54
1. Upload the zip, tgz and asc files.
54
55
1. Publish the release.
55
56
1. Update `README.md`
@@ -76,4 +77,10 @@ cd package/nix
76
77
./build.sh
77
78
```
78
79
79
-
Then `cd nixpkgs`, push the resulting branch, and make a PR to https://github.com/NixOS/nixpkgs with the title "elm-format: [old version] -> [new version]"
80
+
Then `cd nixpkgs`, push the resulting branch, and make a PR to <https://github.com/NixOS/nixpkgs> with the title "`elm-format: <old version> -> <new version>`"
81
+
82
+
83
+
## Cleanup
84
+
85
+
1. Create and merge a PR for the `release/<new version>` branch
0 commit comments