File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2323 variant : [ gnome ]
2424 architecture : [ amd64 ] # only amd64 for fast builds
2525 steps :
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 with :
2828 submodules : recursive
2929 - uses : docker/setup-qemu-action@v2
4949 needs : suite-build
5050
5151 steps :
52- - uses : actions/checkout@v3
52+ - uses : actions/checkout@v4
5353 with :
5454 token : ${{ secrets.GITHUB_TOKEN }}
5555
@@ -61,19 +61,19 @@ jobs:
6161 udroid_version=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
6262 https://github.com/RandomCoderOrg/ubuntu-on-android \
6363 | tail -n1 | cut -d / -f 3 | cut -d v -f 2- )
64-
64+
6565 latest_tag=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
6666 https://github.com/RandomCoderOrg/udroid-download \
6767 | tail -n1 | cut -d / -f 3)
68-
68+
6969 if [[ $latest_tag =~ R([0-9]+)$ ]]; then
7070 current_release=${BASH_REMATCH[1]}
7171 else
7272 current_release=0
7373 fi
74-
74+
7575 next_release=$((current_release + 1))
76-
76+
7777 echo "VERSIONTAG=V${udroid_version}R${next_release}" >> $GITHUB_ENV
7878
7979 - name : 📝 Generate Release Notes
Original file line number Diff line number Diff line change 1717 outputs :
1818 matrix : ${{ steps.set-matrix.outputs.matrix }}
1919 steps :
20- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
2121 with :
2222 submodules : recursive
2323 - name : Generate Matrix JSON
3333 matrix : ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
3434
3535 steps :
36- - uses : actions/checkout@v3
36+ - uses : actions/checkout@v4
3737 with :
3838 submodules : recursive
3939 - name : ⤵️ Install Dependencies
5656 needs : suite-build
5757
5858 steps :
59- - uses : actions/checkout@v3
59+ - uses : actions/checkout@v4
6060 with :
6161 token : ${{ secrets.GITHUB_TOKEN }}
6262 - name : 📥 Download All Tarballs
@@ -67,19 +67,19 @@ jobs:
6767 udroid_version=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
6868 https://github.com/RandomCoderOrg/ubuntu-on-android \
6969 | tail -n1 | cut -d / -f 3 | cut -d v -f 2- )
70-
70+
7171 latest_tag=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
7272 https://github.com/RandomCoderOrg/udroid-download \
7373 | tail -n1 | cut -d / -f 3)
74-
74+
7575 if [[ $latest_tag =~ R([0-9]+)$ ]]; then
7676 current_release=${BASH_REMATCH[1]}
7777 else
7878 current_release=0
7979 fi
80-
80+
8181 next_release=$((current_release + 1))
82-
82+
8383 echo "VERSIONTAG=V${udroid_version}R${next_release}" >> $GITHUB_ENV
8484
8585 - name : 📝 Generate Release Notes
You can’t perform that action at this time.
0 commit comments