File tree 2 files changed +18
-8
lines changed 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,19 @@ jobs:
16
16
uses : actions/checkout@v4
17
17
18
18
- name : Run core download link update script
19
- run : " ${GITHUB_WORKSPACE}/scripts/core-download-link-update.sh"
19
+ id : update_script
20
+ run : |
21
+ output=$("${GITHUB_WORKSPACE}/scripts/core-download-link-update.sh")
22
+ # Extract the version number from the line that starts with "Extracted Version:"
23
+ version=$(echo "$output" | grep "Extracted Version:" | awk -F": " '{print $2}')
24
+ echo "version=${version}" >> $GITHUB_OUTPUT
20
25
21
26
- name : Create Pull Request
22
27
uses : peter-evans/create-pull-request@v6
23
28
with :
24
29
branch : update-docs/core-update-${{ github.sha }}
25
- title : " chore: update core download links to latest version"
30
+ title : " chore: update core download links to version ${{ steps.update_script.outputs. version }} "
26
31
body : |
27
- This PR updates download links in the documentation to use the latest Dash Core version.
28
- commit-message : " chore: update core download links to latest version"
32
+ This PR updates download links in the documentation to use Dash Core version ${{ steps.update_script.outputs.version }} .
33
+ commit-message : " chore: update core download links to version ${{ steps.update_script.outputs. version }} "
29
34
reviewers : " thephez,PastaPastaPasta,UdjinM6"
Original file line number Diff line number Diff line change @@ -16,14 +16,19 @@ jobs:
16
16
uses : actions/checkout@v4
17
17
18
18
- name : Run evo tool download link update script
19
- run : " ${GITHUB_WORKSPACE}/scripts/evo-tool-download-link-update.sh"
19
+ id : update_script
20
+ run : |
21
+ output=$("${GITHUB_WORKSPACE}/scripts/evo-tool-download-link-update.sh")
22
+ # Extract the version number from the line that starts with "Extracted Version:"
23
+ version=$(echo "$output" | grep "Extracted Version:" | awk -F": " '{print $2}')
24
+ echo "version=${version}" >> $GITHUB_OUTPUT
20
25
21
26
- name : Create Pull Request
22
27
uses : peter-evans/create-pull-request@v6
23
28
with :
24
29
branch : update-docs/evo-tool-update-${{ github.sha }}
25
- title : " chore: update evo tool download links to latest version"
30
+ title : " chore: update evo tool download links to version ${{ steps.update_script.outputs. version }} "
26
31
body : |
27
- This PR updates download links in the documentation to use the latest Dash Evo Tool version.
28
- commit-message : " chore: update evo tool download links to latest version"
32
+ This PR updates download links in the documentation to use Dash Evo Tool version ${{ steps.update_script.outputs.version }} .
33
+ commit-message : " chore: update evo tool download links to version ${{ steps.update_script.outputs. version }} "
29
34
reviewers : " thephez,pauldelucia"
You can’t perform that action at this time.
0 commit comments