Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto github release workflow #1406

Closed
Tracked by #201
saratvemulapalli opened this issue Feb 14, 2023 · 3 comments
Closed
Tracked by #201

Add auto github release workflow #1406

saratvemulapalli opened this issue Feb 14, 2023 · 3 comments
Labels
enhancement New feature or request untriaged

Comments

@saratvemulapalli
Copy link
Member

Is your feature request related to a problem?

As part of OpenSearch releases, opensearch-build pushes a tag for the release commit.
But publishing a github release based on the tag is manual.

What solution would you like?

We've added this workflow[1] in OpenSearch which publishes github releases automatically when a tag is pushed.

Add this workflow to all repos releasing software in the project.
See example: https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/auto-release.yml
Example Release: https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0

[1] https://github.com/opensearch-project/opensearch-plugins/blob/main/WORKFLOWS.md#auto-github-releases

@ps48
Copy link
Member

ps48 commented Mar 6, 2023

The feature is added in #1436

@ps48 ps48 closed this as completed Mar 6, 2023
@saratvemulapalli
Copy link
Member Author

Looks like the workflow is failing: The notes are not in the right format.
https://github.com/opensearch-project/observability/actions/runs/4318116929/jobs/7536017277

Run ncipollo/release-action@v1
Error: Error undefined: ENOENT: no such file or directory, open 'release-notes/opensearch-observability.release-notes-test-release-automation.md'

@joshuali925
Copy link
Member

i think it's expected, the failed action was triggered by tag test-release-automation, which is not a release tag. there's no clear pattern (e.g. v* like in ODFE) to match a release tag so currently all tags would trigger the workflow

cc: @Swiddis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants