Skip to content

Commit

Permalink
[DOCS] Add publishing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
begedin committed Oct 29, 2022
1 parent b495f1c commit 8017813
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# 0.12.1

- [FIX] Publish JS
- [DOCS] Add publishing instructions

Previous version didn't incoude prebuilt js and types

Expand Down
14 changes: 14 additions & 0 deletions additional_docs/instructions_publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Publishing a new version

1. Ensure the version number in the following files is correct

- `README.md`
- `mix.exs`
- `package.json`

2. Ensure conversion between current and new version works
3. Run `npm run build` to update the prebuilt .js and declared type
4. Commit
5. Create new tag on Github
6. Run `mix hex.publish`
7. Run `npm publish`

0 comments on commit 8017813

Please sign in to comment.