-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add github release step * Test upload with sdist * Update badge and doc * Bump to 0.1.0rc4 * Debug prod release * Undo debugging print * Attempt to stabilize flaky tests * Skip flaky tests * Reorder welcome sections in main README * Add steps to publish docs on github page
- Loading branch information
Jianjie Liu
authored
Jul 20, 2021
1 parent
0e982f2
commit 7c25f06
Showing
9 changed files
with
110 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ test_out | |
# Environments | ||
.env* | ||
.venv* | ||
**/.env/ | ||
env/ | ||
venv/ | ||
ENV/ | ||
|
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,22 @@ | ||
# Genalog Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
Types of changes | ||
1. `Added` for new features. | ||
1. `Changed` for changes in existing functionality. | ||
1. `Deprecated` for soon-to-be removed features. | ||
1. `Removed` for now removed features. | ||
1. `Fixed` for any bug fixes. | ||
1. `Security` in case of vulnerabilities. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and we adopt the [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [v0.1.0] - 2021-07-19 | ||
### Added | ||
- Initial package release: | ||
- 3 standard HTML document template for generation | ||
- basic image degradation effects including blur, bleed-through, salt & pepper and other morphological operations. | ||
- 2 flavors of text alignment algorithm: Needleman-Wunsch (shorter text segments) and RETAS (longer text segments) | ||
- Full e2e NER-OCR label generation notebooks | ||
- See [documentation](https://microsoft.github.io/genalog/installation.html) for more on the initial features of the package. |
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,28 @@ | ||
# Toucan Release Procedure | ||
|
||
Checklist for the release process of `genalog`: | ||
|
||
### Preparation | ||
- [x] Ensure `main` branch contains all relevant changes and PRs relating to the specific release is merged | ||
- [x] Create and switch to a new release branch (i.e. release-X.Y.Z) | ||
|
||
### Package Metadata Update | ||
- [x] Update VERSION.txt with version bump. Please reference [Semantic Versioning](https://semver.org/). | ||
- [x] Update [CHANGELOG.md](./CHANGELOG.md) | ||
- [x] Commit the above changes with title "Release vX.Y.Z" | ||
- [x] Generate a new git tag for the new version (e.g. `git tag -a v0.1.0 -m "Initial Release"`) | ||
- [x] Push the new tag to remote `git push origin v0.1.0` | ||
- [x] Create a new PR with the above changes into `main` branch. | ||
|
||
### Release to PyPI | ||
- [x] Manually trigger the [release pipeline](https://dev.azure.com/genalog-dev/genalog/_build?definitionId=2) in DevOps on the release branch, this will publish latest version of `genalog` to PyPI. | ||
- [x] Select `releaseType` to `Test` to test out the release in [TestPyPI](https://test.pypi.org/project/genalog/) | ||
- [x] Rerun and switch `releaseType` to production if looks good. | ||
- [x] If the pipeline ran successfully, check and publish the draft of this release on [Github Release](https://github.com/microsoft/genalog/releases) | ||
- [x] Latest version is pip-installable with: | ||
- `pip install genalog` | ||
|
||
### Update Documentation on Github Page | ||
- [x] Staying on the release branch, `cd docs && pip install -r requirements-doc.txt` | ||
- [x] Build the jupyter-book with `jupyter-book build --all genalog_docs` | ||
- [x] Preview the HTML files, if looks good [publish to Github Page](https://jupyterbook.org/start/publish.html#publish-your-book-online-with-github-pages): `ghp-import -n -p -f genalog_docs/_build/html` |
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.0.1-alpha3 | ||
0.1.0-rc5 |
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