Skip to content

Commit ec65297

Browse files
authored
Merge pull request #801 from jerensl/ci/fix-release-bump
ci: fix release bump
2 parents ee3fa5e + 73f74dd commit ec65297

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/bump-meshery-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Download Version
1616
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
1717
with:
18-
name: e2e-test-reporter
18+
name: version-number
1919
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
2020
run-id: ${{ github.event.workflow_run.id }}
2121
- name: Retrieve Version

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,20 @@ jobs:
4747
versions-check:
4848
needs: publish-gpr
4949
runs-on: ubuntu-latest
50-
outputs:
51-
current: ${{ steps.versions.outputs }}
5250
steps:
5351
- uses: actions/github-script@v7
5452
id: versions
5553
with:
5654
result-encoding: string
5755
script: |
58-
let str = "${{github.event.release.tag_name}}"
56+
let str = `${{github.event.release.tag_name}}`
5957
6058
return str.replace(/^v/, '')
6159
- name: Save Release number
6260
if: ${{ !cancelled() }}
6361
run: |
6462
mkdir -p ./version
65-
echo ${{ steps.versions.outputs }} > ./version/number
63+
echo ${{ steps.versions.outputs.result }} > ./version/number
6664
- name: Upload Version Report
6765
if: ${{ !cancelled() }}
6866
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6

0 commit comments

Comments
 (0)