File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 name : Bump version and release
1010 runs-on : self-hosted
1111 permissions :
12- contents : write
12+ contents : write
1313 steps :
14- - name : Checkout repo
15- uses : actions/checkout@v4
14+ - uses : actions/checkout@v4
1615 with :
17- fetch-depth : 0 # necesario para leer tags y changelog
18- token : ${{ secrets.GITHUB_TOKEN }}
16+ fetch-depth : 0
17+ token : ${{ secrets.PAT_TOKEN }}
1918
2019 - name : Run tests before release
2120 run : wolframscript -file tests/RunAllTests.wl
3332 MAJOR=$(echo $VERSION | cut -d. -f1)
3433 MINOR=$(echo $VERSION | cut -d. -f2)
3534 PATCH=$(echo $VERSION | cut -d. -f3)
36- NEW_PATCH=$((PATCH + 1))
37- NEW_VERSION="$MAJOR.$MINOR.$NEW_PATCH"
35+ NEW_VERSION="$MAJOR.$MINOR.$((PATCH + 1))"
3836 echo "$NEW_VERSION" > QMB/version.txt
3937 echo "new=$NEW_VERSION" >> $GITHUB_OUTPUT
4038
6058 with :
6159 tag_name : v${{ steps.bump.outputs.new }}
6260 generate_release_notes : true
61+ token : ${{ secrets.PAT_TOKEN }}
You can’t perform that action at this time.
0 commit comments