Skip to content

Commit 5c509f8

Browse files
committed
fix release_central.yml
1 parent a267cb7 commit 5c509f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release_central.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ jobs:
7676
vault-instance: "ci-prod"
7777

7878
- name: Tag branch ${{ inputs.branch }} with release ${{ inputs.version }}, bump version with new release ${{ inputs.version }}
79-
uses: actions/checkout@v4
79+
uses: actions/checkout@v7 // TODO commit hash
8080
with:
8181
repository: elastic/elasticsearch-java
8282
token: ${{ steps.fetch-ephemeral-token.outputs.token }}
8383
ref: ${{ inputs.branch }}
8484
path: elasticsearch-java
85-
run: |
85+
86+
- run: |
8687
git tag v${{ inputs.version }}
8788
git push origin v${{ inputs.version }}
8889
echo ${{ inputs.version }} > config/version.txt
@@ -95,12 +96,11 @@ jobs:
9596
with:
9697
repository: elastic/elasticsearch-java
9798
token: ${{ steps.fetch-ephemeral-token.outputs.token }}
98-
ref: ${{ inputs.branch }}
99-
path: elasticsearch-java
10099
tag_name: v${{ inputs.version }}
101100
name: v${{ inputs.version }}
102101
draft: true
103102
prerelease: false
103+
target_commitish: ${{ inputs.branch }}
104104
body: |
105105
## What's Changed
106106

0 commit comments

Comments
 (0)