-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update release note for 1.0.0.0-beta1 (#17)
Signed-off-by: bowenlan-amzn <[email protected]>
- Loading branch information
1 parent
e1d0c99
commit 4dff7ec
Showing
3 changed files
with
54 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import os | ||
import sys | ||
import fileinput | ||
import re | ||
|
||
file_path = raw_input("Path to raw notes file (e.g., notes.md): ") | ||
plugin_name = 'job-scheduler' | ||
plugin_version = raw_input('Plugin version (x.x.x.x): ') | ||
app = 'OpenSearch' | ||
app_version = raw_input(app + ' compatibility version (x.x.x): ') | ||
|
||
for line in fileinput.input(file_path, inplace=True): | ||
# Add title & compatibility | ||
if fileinput.isfirstline(): | ||
line = "## Version " + plugin_version + " Release Notes\n\n" \ | ||
"Compatible with " + app + " " + app_version + "\n" | ||
|
||
# # Add link to PRs | ||
# if '*' in line: | ||
# start = line.find('#') + 1 | ||
# end = line.find(')', start) | ||
# pr_num = line[start:end] | ||
# line = re.sub(searchExp, "([#" + pr_num + | ||
# "](" + link_prefix + pr_num + "))", line) | ||
sys.stdout.write(line) | ||
|
||
# Rename file to be consistent with ODFE standards | ||
new_file_path = "opensearch." + plugin_name + ".release-notes-" + \ | ||
plugin_version + ".md" | ||
os.rename(file_path, new_file_path) | ||
|
||
print('\n\nDone!\n') |
20 changes: 20 additions & 0 deletions
20
release-notes/opensearch.job-scheduler.release-notes-1.0.0.0-beta1.md
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,20 @@ | ||
## Version 1.0.0.0-beta1 Release Notes | ||
|
||
Compatible with OpenSearch 1.0.0 | ||
|
||
### Maintenance | ||
|
||
* Migrate to OpenSearch ([#1](https://github.com/opensearch-project/job-scheduler/pull/1)) | ||
|
||
### Documentation | ||
|
||
* Update licenses ([#3](https://github.com/opensearch-project/job-scheduler/pull/3)) | ||
* Go Public ([#2](https://github.com/opensearch-project/job-scheduler/pull/2)) | ||
* Add new license header ([#6](https://github.com/opensearch-project/job-scheduler/pull/6)) | ||
|
||
### Infrastructure | ||
* Build and publish to maven local, enable CI ([#8](https://github.com/opensearch-project/job-scheduler/pull/8)) | ||
* Reset version to 1.0. ([#9](https://github.com/opensearch-project/job-scheduler/pull/9)) | ||
* Build against OpenSearch 1.0.0-alpha1. ([#11](https://github.com/opensearch-project/job-scheduler/pull/11)) | ||
* Rename plugin ([#14](https://github.com/opensearch-project/job-scheduler/pull/14)) | ||
* Run integration tests in CI + alpha2 ([#12](https://github.com/opensearch-project/job-scheduler/pull/12)) |