File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 6161 - uses : jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4
6262 with :
6363 version : 2025.9.12
64+ - name : Get released version
65+ id : released-version
66+ run : |
67+ git fetch --tags
68+ RELEASED_VERSION=$(git tag --merged HEAD --sort=-version:refname | head -1)
69+ echo "RELEASED_VERSION=${RELEASED_VERSION}" >> $GITHUB_OUTPUT
70+ - name : Update install scripts version
71+ env :
72+ RELEASED_VERSION : ${{ steps.released-version.outputs.RELEASED_VERSION }}
73+ run : |
74+ sed -i "s/version=\"[^\"]*\"/version=\"${RELEASED_VERSION}\"/" user-scripts/install.sh
75+ sed -i "s/\$SonarVersion = \"[^\"]*\"/\$SonarVersion = \"${RELEASED_VERSION}\"/" user-scripts/install.ps1
6476 - name : bump-version
6577 env :
6678 NEW_VERSION : ${{ needs.release.outputs.new-version }}
You can’t perform that action at this time.
0 commit comments