File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 release-type :
1515 description : ' Release type'
1616 type : choice
17- default : ' beta '
17+ default : ' release '
1818 options :
1919 - ' release'
2020 - ' beta'
5656 - name : Read current mod version
5757 id : read_version
5858 run : |
59- mod_version=$(grep "modVersion" gradle .properties | cut -d'=' -f2 | tr -d '[:space:]')
59+ mod_version=$(grep "modVersion" buildscript .properties | cut -d'=' -f2 | tr -d '[:space:]')
6060 echo "Current mod version: $mod_version"
6161 if [ "$mod_version" == "${{inputs.version}}" ]; then
6262 echo "UPDATED=true" >> $GITHUB_ENV
@@ -87,13 +87,13 @@ jobs:
8787 if : env.UPDATED == 'false' # only change new version if it's not already updated
8888 run : sed -i "s/modVersion.*=.*/modVersion = ${{ github.event.inputs.version }}/g" gradle.properties
8989
90- - name : Commit and push gradle .properties
90+ - name : Commit and push buildscript .properties
9191 if : env.UPDATED == 'false' # only push new version if it's not already updated
9292 uses :
stefanzweifel/[email protected] 9393 with :
9494 commit_message : " Bump version to ${{ github.event.inputs.version }}"
9595 commit_options : " --no-verify"
96- file_pattern : gradle .properties
96+ file_pattern : buildscript .properties
9797 tagging_message : " v${{ github.event.inputs.version }}"
9898
9999 - name : Check for publishing
You can’t perform that action at this time.
0 commit comments