File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,13 @@ jobs:
3030
3131 - name : Set release version
3232 run : |
33- VERSION=${{ github.event.inputs.version }}
34- sed -i -e "s/^\:project-version\:\ .*/:project-version: ${VERSION}/g" README.adoc
33+ echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
34+ echo ${{ github.event.inputs.version }} > VERSION
35+ git add VERSION
36+ sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ github.event.inputs.version }}/g" README.adoc
3537 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3638 git config --global user.name "GitHub Action"
37- git commit -a -m "Releasing version $VERSION "
39+ git commit -a -m "Releasing version ${{ github.event.inputs.version }} "
3840 git push origin main
3941
4042 - name : Deploy to Plugin Portal
Original file line number Diff line number Diff line change 1+ 0.3.0-SNAPSHOT
Original file line number Diff line number Diff line change 2323#
2424
2525group = dev.jbang
26- version = 0.3.0-SNAPSHOT
2726sourceCompatibility = 11
2827targetCompatibility = 11
2928
You can’t perform that action at this time.
0 commit comments