You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meta/README.md
+20
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
-[Add a New Component](#add-a-new-component)
7
7
-[Create or Update Release Labels](#create-or-update-release-labels)
8
8
-[Create a Release Issue](#create-a-release-issue)
9
+
-[Check for Release Tags](#check-for-release-tags)
10
+
-[Check for Versions and Releases](#check-for-versions-and-releases)
9
11
10
12
## Managing OpenSearch Components
11
13
@@ -56,3 +58,21 @@ We create release issues in all component repos that link back to a parent relea
56
58
1. Locate the parent issue, e.g. [opensearch-build#567](https://github.com/opensearch-project/opensearch-build/issues/567) for version 1.2.
57
59
2. Clone the last template in [templates/releases/](templates/releases), and update version numbers and links, e.g. [release-1.2.0.md](templates/releases/release-1.2.0.md).
58
60
3. From [components](components), run `meta exec "gh issue create --label v1.2.0 --title 'Release version 1.2' --body-file ../../templates/releases/release-1.2.0.md"`.
61
+
62
+
### Check for Release Tags
63
+
64
+
Check whether a tag for version `1.1.0` exists.
65
+
66
+
```
67
+
meta exec "git ls-remote | grep -E 'refs/tags/1.1.0$'"
68
+
```
69
+
70
+
The command will fail and show in red for every repository without a tag.
71
+
72
+
### Check for Versions and Releases
73
+
74
+
Check whether a version or a release exists.
75
+
76
+
```
77
+
meta exec "gh release list | grep -E '(1.1.0.*)$'"
0 commit comments