File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
workflow_dispatch :
6
6
inputs :
7
7
release :
8
- description : ' Release version only used for run name. Actual release version is taken from version.sbt'
8
+ description : ' Release version used for run name and tag . Actual release version is taken from version.sbt'
9
9
required : false
10
10
type : string
11
11
build :
66
66
git config --local user.name "GitHub Actions"
67
67
git config --local user.email "[email protected] "
68
68
echo "VERSION_TAG=$(grep 'version := ' version.sbt | sed -E 's/version := \"(.*)\"/\1/')" >> $GITHUB_ENV
69
- git tag -a "v${{ env.VERSION_TAG }}" -m "Release ${{ env.VERSION_TAG }}"
70
- git push origin "v${{ env.VERSION_TAG }}"
69
+ git tag -a "v${{ github.event.inputs.release }}" -m "Release ${{ github.event.inputs.release }}"
70
+ git push origin "v${{ github.event.inputs.release }}"
71
71
env :
72
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments