File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,5 @@ udroid_download=$(
1616 | tail -n1 | cut -d / -f 3
1717)
1818
19- version=" V${udroid_version}${BUILD_TYPE} R$(( ${udroid_download: -1} + 1 )) "
20-
2119# export version to github environment
22- echo " VERSIONTAG=$version " >> " $GITHUB_ENV "
20+ echo " VERSIONTAG=V ${udroid_version}${BUILD_TYPE} R $(( ${udroid_download : -1} + 1 )) " >> " $GITHUB_ENV "
Original file line number Diff line number Diff line change 2121 git submodule update
2222 - name : Build tarballs
2323 run : |
24+ sudo bash build.sh -s impish -v raw -a all
25+ sudo bash build.sh -s jammy -v raw -a all
2426 sudo bash build.sh -s kinetic -v raw -a all
2527
2628 - name : upload artifacts
3941 with :
4042 name : raw-tarballs
4143 - name : Compute release tag
42- run : sudo bash .github/scripts/compute-release-tag.sh
44+ run : |
45+ udroid_version=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
46+ https://github.com/RandomCoderOrg/ubuntu-on-android \
47+ | tail -n1 | cut -d / -f 3 | cut -d v -f 2- )
48+ udroid_download=$(
49+ git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' \
50+ https://github.com/RandomCoderOrg/udroid-download \
51+ | tail -n1 | cut -d / -f 3
52+ )
53+ echo "VERSIONTAG=V${udroid_version}${BUILD_TYPE}R$((${udroid_download: -1} + 1))" >> $GITHUB_ENV
4354 - name : Generate release notes
44- run : sudo bash .github/scripts/generate-release-notes.sh
55+ run : sudo bash /home/runner/work/udroid-download/udroid-download/ .github/scripts/generate-release-notes.sh
4556 - name : Create Release
4657 id : create_release
4758 uses : actions/create-release@v1
6172 assets+=("-a" "$asset")
6273 done
6374 tag_name="${VERSIONTAG}"
64- hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
75+ hub release edit -F release.md "${assets[@]}" -m "$tag_name" "$tag_name"
6576 env :
6677 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments