forked from Argyle-Software/dilithium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add: wasm compilation feature, npm package and js tests to CI * Updated deps * Enforce cargo fmt * Add: release.md
- Loading branch information
Showing
22 changed files
with
271 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Release Checklist | ||
|
||
`VERSION=v0.0.0` | ||
|
||
1. New branch `git checkout -b release_$VERSION` | ||
|
||
2. Bump any dependencies in **Cargo.toml** | ||
|
||
3. Run tests: | ||
```bash | ||
./tests/test_matrix.sh; | ||
./tests/wasm.js; | ||
``` | ||
|
||
4. Bump version in **Cargo.toml** | ||
|
||
5. Update **changelog.md** | ||
|
||
6. `cargo fmt` | ||
|
||
7. `wasm-pack build -- --features wasm` | ||
|
||
8. Fix autogenerated **pkg/package.json**: | ||
* name - Replace *pqc_dilithium* with *pqc-dilithium* | ||
* description - Revert line back to old description | ||
|
||
9. `git commit -a -m "release $VERSION"` | ||
|
||
10. `git tag $VERSION -m "Version release"` | ||
|
||
11. `git push --atomic origin release_$VERSION $VERSION` | ||
|
||
12. Open PR to master, confirm all CI checks pass, merge PR | ||
|
||
13. `cargo publish` | ||
|
||
14. `npm publish` | ||
|
||
15. `git checkout master && git branch -d release_$VERSION` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.