Skip to content

Commit 7684001

Browse files
authored
Revert "Make release workflow manually triggered (opensearch-project#470)" (opensearch-project#472)
This reverts commit 87c371c. Signed-off-by: xil <fridalu66@gmail.com>
1 parent 87c371c commit 7684001

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
name: Release Workflow
22

3-
# Triggered manually to create release artifacts:
3+
# Push events to every tag not containing "/"
4+
#
5+
# Create artifacts for Github release and publish to public repositories
46
# - opensearch-protobufs-java.tar.gz (Java/Maven artifacts)
57
# - opensearch-protobufs-{version}.zip (Raw proto files)
68
# - opensearch_protobufs-{version}-py3-none-any.whl (Python/PyPI artifacts)
79

810
on:
9-
workflow_dispatch:
10-
inputs:
11-
release_tag:
12-
description: 'Release tag to create (for example, 1.6.0)'
13-
required: true
14-
type: string
11+
push:
12+
tags:
13+
- "*"
1514

1615
jobs:
1716
release:
1817
environment: release-approval
1918
runs-on: ubuntu-latest
2019
permissions: write-all
21-
env:
22-
RELEASE_TAG: ${{ inputs.release_tag }}
2320
steps:
2421
- name: Checkout
2522
uses: actions/checkout@v6
@@ -57,7 +54,6 @@ jobs:
5754
- name: Release on Github
5855
uses: softprops/action-gh-release@v2
5956
with:
60-
tag_name: ${{ env.RELEASE_TAG }}
6157
draft: true
6258
generate_release_notes: true
6359
files: |

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1010
- Add PIT RPCs to `SearchService` ([#469](https://github.com/opensearch-project/opensearch-protobufs/pull/469)).
1111

1212
### Changed
13-
- Make the release workflow manually triggered ([#470](https://github.com/opensearch-project/opensearch-protobufs/pull/470)).
1413

1514
### Removed
1615

0 commit comments

Comments
 (0)