-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use alpha2 and upload release notes (#10)
* Use alpha2 and upload release notes Signed-off-by: Ashish Agrawal <[email protected]>
- Loading branch information
Showing
7 changed files
with
70 additions
and
19 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
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 @@ | ||
# raw note means the draft release content copied down which is generated by Github workflow | ||
# this script helps add the URLs to all PR and have the right release note filename | ||
|
||
import os | ||
import sys | ||
import fileinput | ||
import re | ||
|
||
link_prefix = "https://github.com/opensearch-project/alerting/pull/" | ||
searchExp = re.compile("([\(\[]).*?([\)\]])") | ||
|
||
current_date = raw_input("what day is today (e.g. 2020-06-29): ") | ||
file_path = raw_input("Path to raw note file (e.g., note.md): ") | ||
plugin_name = "index-management" | ||
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 and OpenSearch/OpenSearchDashboards compatibility | ||
if fileinput.isfirstline(): | ||
line = "## Version " + plugin_version + " " + current_date + "\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) | ||
|
||
new_file_path = "opensearch-" + plugin_name + ".release-notes-" + \ | ||
plugin_version + ".md" | ||
os.rename(file_path, new_file_path) | ||
|
||
print('\n\nDone!\n') |
7 changes: 0 additions & 7 deletions
7
release-notes/opendistro-for-elasticsearch-alerting.release-notes-1.13.1.0.md
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
release-notes/opensearch-index-management.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,18 @@ | ||
## Version 1.0.0.0-beta1 2021-04-26 | ||
|
||
Compatible with OpenSearch 1.0.0 | ||
|
||
### Enhancements | ||
* Update plugin install name ([#9](https://github.com/opensearch-project/alerting/pull/9)) | ||
### Bug Fixes | ||
* Update jackson CVE-2020-28491 ([#8](https://github.com/opensearch-project/alerting/pull/8)) | ||
### Infrastructure | ||
* Fix integ tests so they execute successfully in the test workflow ([#7](https://github.com/opensearch-project/alerting/pull/7)) | ||
* Fix Test Workflow ([#6](https://github.com/opensearch-project/alerting/pull/6)) | ||
### Documentation | ||
* Update licenses ([#5](https://github.com/opensearch-project/alerting/pull/5)) | ||
* Update documentation to remove more ES references and update licenses ([#4](https://github.com/opensearch-project/alerting/pull/4)) | ||
### Refactoring | ||
* Change Kibana UserAgent to OpenSearchDashboards ([#3](https://github.com/opensearch-project/alerting/pull/3)) | ||
* Migrate Alerting to OpenSearch ([#1](https://github.com/opensearch-project/alerting/pull/1)) | ||
* Update version to alpha2 ([#10](https://github.com/opensearch-project/alerting/pull/10)) |