Skip to content

Commit edaf6b4

Browse files
authored
ci: fix release workflow (#87)
Signed-off-by: Tomer Figenblat <[email protected]>
1 parent 5ed1894 commit edaf6b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/github-script@v7
3636
with:
3737
script: |
38-
var retval = '${{ steps.bumper.outputs.new_version }}'
38+
var retval = '${{ steps.bumper.outputs.next }}'
3939
if ('${{ github.event.inputs.title }}') {
4040
retval = retval.concat(' - ${{ github.event.inputs.title }}')
4141
}
@@ -48,7 +48,7 @@ jobs:
4848
script: |
4949
const repo_name = context.payload.repository.full_name
5050
const response = await github.request('POST /repos/' + repo_name + '/releases', {
51-
tag_name: '${{ steps.bumper.outputs.new_version }}',
51+
tag_name: '${{ steps.bumper.outputs.next }}',
5252
name: '${{ steps.release_name.outputs.value }}',
5353
generate_release_notes: true
5454
})
@@ -57,7 +57,7 @@ jobs:
5757
- name: Update usage example
5858
run: >
5959
sed -i
60-
's/uses\: tomerfi\/version-bumper-action@.*/uses\: tomerfi\/version-bumper-action@${{ steps.bumper.outputs.new_version }}/g'
60+
's/uses\: tomerfi\/version-bumper-action@.*/uses\: tomerfi\/version-bumper-action@${{ steps.bumper.outputs.next }}/g'
6161
README.md
6262
6363
- name: Configure git
@@ -68,5 +68,5 @@ jobs:
6868
- name: Push modifications
6969
run: |
7070
git add README.md
71-
git commit -m "docs: update README usage section with ${{ steps.bumper.outputs.new_version }} [skip ci]"
71+
git commit -m "docs: update README usage section with ${{ steps.bumper.outputs.next }} [skip ci]"
7272
git push

0 commit comments

Comments
 (0)